[wp-trac] [WordPress Trac] #59891: Incorrect example for WP_HTML_Tag_Processor class
WordPress Trac
noreply at wordpress.org
Fri Nov 17 06:38:48 UTC 2023
#59891: Incorrect example for WP_HTML_Tag_Processor class
--------------------------+------------------------------
Reporter: atachibana | Owner: Bernhard Reiter
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.5
Component: HTML API | Version: 6.4
Severity: minor | Resolution: fixed
Keywords: has-patch | Focuses: docs
--------------------------+------------------------------
Changes (by Bernhard Reiter):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"57116" 57116]:
{{{
#!CommitTicketReference repository="" revision="57116"
HTML API: Fix typo in documentation example.
The example code in the PHPDoc comment for the HTML Tag Processor class
previously showed calling `next_tag()` with an array containing a `class`
key, which should have been `class_name`. This patch fixes this by using
the appropriate `class_name` key.
Props dmsnell, gaambo, crstauf, atachibana, audrasjb, krupalpanchal.
Fixes #59891.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59891#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list