Repository navigation
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. 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. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
|
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. |
Quick Edit and Bulk Edit clone markup from the hidden
#inline-edittemplate, which left duplicate HTML IDs on the posts list screen.What changed
prefixClonedIds()helper ininline-edit-post.jsthat prefixes IDs and updates matchingfor,aria-describedbyandaria-labelledbyreferences within the clone.bulk-edit-prefix, like the categories clone. This removes the duplicateinline-edit-{taxonomy}-descon page load and points the bulk textarea'saria-describedbyat its own copy.ss,_inline_edit,post_parent, the category checklist IDs and the tags wrap IDs) with aquick-edit-prefix.Back-compat
[id]in the clone. The clone is inserted before the hidden template in document order, so global ID lookups by plugins on their ownquick_edit_custom_boxfields keep finding the clone's elements.Tests
tests/e2e/specs/edit-posts.test.jsthat asserts there are no duplicate IDs on load, with Quick Edit open and with Bulk Edit open, and that the tags textarea keeps its accessible description. It fails on trunk withinline-edit-post_tag-descand passes with the change.Trac ticket: https://core.trac.wordpress.org/ticket/66727
Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Sonnet 5.5
Used for: Implementation, tests, and PR description.
This Pull Request is for code review only. Please do not merge it on GitHub; changes are committed to WordPress through Trac.
🤖 Generated with Claude Code