[wp-trac] [WordPress Trac] #18504: Allow filtering of "Add New [Post Type]" URL on edit.php

WordPress Trac noreply at wordpress.org
Fri Sep 20 20:23:17 UTC 2013


#18504: Allow filtering of "Add New [Post Type]" URL on edit.php
----------------------------+--------------------
 Reporter:  tbuteler        |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  3.7
Component:  Administration  |     Version:  3.2.1
 Severity:  trivial         |  Resolution:
 Keywords:  has-patch       |
----------------------------+--------------------

Comment (by nacin):

 +1 on the patch. esc_url() makes sense here — not for security concerns,
 but for the distinct possibility that the filtering of post-new.php would
 add an ampersand to it, and that should be encoded.

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


More information about the wp-trac mailing list