KSES: Add tabindex to the list of allowed global attributes.#12493
KSES: Add tabindex to the list of allowed global attributes.#12493t-hamano wants to merge 2 commits into
Conversation
The tabindex attribute was previously stripped from post content for users without the unfiltered_html capability, which breaks blocks that rely on a roving tabindex, such as the Tabs block. Fixes #65619. Co-Authored-By: Claude <noreply@anthropic.com>
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
Add `tabindex` to the list of global attributes allowed by `_wp_add_global_attributes()`, so it survives KSES filtering on any element that supports global attributes. Developed in: #12493 Props ramonopoly, wildworks. Fixes #65619. git-svn-id: https://develop.svn.wordpress.org/trunk@62708 602fd350-edb4-49c9-b593-d223f7449a82
Add `tabindex` to the list of global attributes allowed by `_wp_add_global_attributes()`, so it survives KSES filtering on any element that supports global attributes. Developed in: WordPress/wordpress-develop#12493 Props ramonopoly, wildworks. Fixes #65619. Built from https://develop.svn.wordpress.org/trunk@62708 git-svn-id: http://core.svn.wordpress.org/trunk@61992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Use of AI Tools
The AI implemented it, and then I reviewed everything myself.