[wp-trac] [WordPress Trac] #44408: Add classes to .post-attributes-label-wrapper paragraphs to make them unique
WordPress Trac
noreply at wordpress.org
Thu Nov 21 18:33:26 UTC 2019
#44408: Add classes to .post-attributes-label-wrapper paragraphs to make them
unique
-----------------------------+-----------------------------
Reporter: garrett-eclipse | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Editor | Version: 4.9.6
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-----------------------------+-----------------------------
Comment (by sabernhardt):
To avoid any chance of duplicating an ID used in a plugin or theme, I
would recommend using classes instead (unless these paragraph tags do need
an ID attribute, for example, if a link might direct to them).
{{{
<p class="post-attributes-label-wrapper parent-id-label-wrapper">
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44408#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list