[wp-trac] [WordPress Trac] #21827: Use wp_parse_id_list() in gallery_shortcode()

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 7 10:02:27 UTC 2012


#21827: Use wp_parse_id_list() in gallery_shortcode()
------------------------------+------------------
 Reporter:  SergeyBiryukov    |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  low               |   Milestone:  3.5
Component:  Media             |     Version:  3.0
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by SergeyBiryukov):

 Indeed: http://core.trac.wordpress.org/browser/tags/3.4.2/wp-
 includes/post.php#L1450

 Thanks! So the sanitization in `gallery_shortcode()` is not necessary at
 all.

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


More information about the wp-trac mailing list