[wp-trac] [WordPress Trac] #54699: dir, lang, and xml:lang should be global attributes supported on all tags

WordPress Trac noreply at wordpress.org
Tue Dec 28 06:29:51 UTC 2021


#54699: dir, lang, and xml:lang should be global attributes supported on all tags
-------------------------------------------------+-------------------------
 Reporter:  upsuper                              |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  6.0
Component:  Formatting                           |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-docs  |     Focuses:
  needs-refresh                                  |
-------------------------------------------------+-------------------------
Changes (by mukesh27):

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests needs-
     docs needs-refresh


Comment:

 Hi there!

 Thanks for the ticket and patch!

 In the PR we should add document for _wp_add_global_attributes() function.
 Something like:

 {{{ * @since 6.0.0 Add global support for `dir`, `lang`, and `xml:lang`
 attributes. }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54699#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list