[wp-trac] [WordPress Trac] #61576: HTML API: Improved spec support in 6.7

WordPress Trac noreply at wordpress.org
Tue Aug 27 03:35:51 UTC 2024


#61576: HTML API: Improved spec support in 6.7
--------------------------------------+---------------------
 Reporter:  dmsnell                   |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  6.7
Component:  HTML API                  |     Version:  6.6
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by dmsnell):

 In [changeset:"58940" 58940]:
 {{{
 #!CommitTicketReference repository="" revision="58940"
 HTML API: Fix a bug where the namespace was forced to 'html'

 While working on other reviews and audits, a bug was discovered in the
 HTML API where the wrong namespace was being assigned to a token because
 the default value of 'html' was used. This patch fixes the bug by calling
 the `parent::get_namespace()` method instead of assuming 'html'.

 Developed in https://github.com/wordpress/wordpress-develop/7232
 Discussed in https://core.trac.wordpress.org/ticket/61576

 Follow-up to [58868].

 Props jonsurrell.
 See #61576.
 }}}

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


More information about the wp-trac mailing list