[wp-trac] [WordPress Trac] #28836: $taxonomy should be escaped in post_categories_meta_box()

WordPress Trac noreply at wordpress.org
Fri Jul 11 18:53:08 UTC 2014


#28836: $taxonomy should be escaped in post_categories_meta_box()
------------------------------+-----------------------------
 Reporter:  pbearne           |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  4.0
Component:  Taxonomy          |     Version:  2.6
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  administration
------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch => has-patch commit
 * focuses:  administration, performance => administration
 * component:  General => Taxonomy
 * milestone:  Awaiting Review => 4.0


Comment:

 [attachment:28836.patch] follows the same approach we use in
 `post_tags_meta_box()`: `$tax_name` is an escaped taxonomy name,
 `$taxonomy` is a taxonomy object.

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


More information about the wp-trac mailing list