[wp-trac] [WordPress Trac] #55506: HTML tags not escaped

WordPress Trac noreply at wordpress.org
Sat Apr 2 13:53:22 UTC 2022


#55506: HTML tags not escaped
-------------------------------------+-----------------------------
 Reporter:  gvgvgvijayan             |       Owner:  SergeyBiryukov
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  6.0
Component:  REST API                 |     Version:  5.9
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:  docs
-------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"53053" 53053]:
 {{{
 #!CommitTicketReference repository="" revision="53053"
 Docs: Further remove HTML markup from various function summaries.

 Per the [https://developer.wordpress.org/coding-standards/inline-
 documentation-standards/php/#summary-formerly-short-description WordPress
 PHP documentation standards], no HTML markup or Markdown of any kind
 should be used in the summary. This ensures that the summary is displayed
 correctly in the [https://developer.wordpress.org/reference/ WordPress
 Code Reference].

 This commit also improves formatting of HTML special characters in
 descriptions in `wp-includes/formatting.php`.

 Follow-up to [53048].

 Props johnbillion, mukesh27.
 Fixes #55506.
 }}}

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


More information about the wp-trac mailing list