[wp-trac] [WordPress Trac] #18765: tag_escape() should not strip digits

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 24 20:13:04 UTC 2011


#18765: tag_escape() should not strip digits
--------------------------+--------------------
 Reporter:  sirzooro      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.3
Component:  Formatting    |     Version:  3.2.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------
Changes (by SergeyBiryukov):

 * milestone:  Awaiting Review => 3.3


Comment:

 `tag_escape()` is only used in `gallery_shortcode()`, so the bug manifests
 if someone sets `itemtag` or `captiontag` attribute to one of the
 `<h1>..<h6>` tags. This seems like a rare situation, but still possible.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18765#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list