[wp-trac] [WordPress Trac] #58254: HTML API: Fix ordering issue in docblock that's breaking Developer Resources

WordPress Trac noreply at wordpress.org
Mon May 8 19:51:01 UTC 2023


#58254: HTML API: Fix ordering issue in docblock that's breaking Developer
Resources
-----------------------------------+-----------------------------
 Reporter:  dmsnell                |       Owner:  SergeyBiryukov
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  6.2.1
Component:  HTML API               |     Version:  6.2
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch fixed-major  |     Focuses:  docs
-----------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55728" 55728]:
 {{{
 #!CommitTicketReference repository="" revision="55728"
 Docs: Correct the placement of `@see` tags in `WP_HTML_Tag_Processor`
 class.

 This moves a reference link in `::get_attribute_names_with_prefix()` below
 the code example, so that it is correctly displayed in the Developer
 Resources.

 Includes updating some other `@see` tags for consistency as per the
 documentation standards.

 Additionally, the example code for `WP_HTML_Tag_Processor::get_tag()` is
 updated to show lowercase tag names in the input HTML, so that it does not
 convey the wrong impression that the uppercase output from `::get_tag()`
 depends on the case of the input HTML.

 Follow-up to [55203].

 Props dmsnell, johnbillion, audrasjb, SergeyBiryukov.
 Merges [55724] to the 6.2 branch.
 Fixes #58254.
 }}}

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


More information about the wp-trac mailing list