[wp-trac] [WordPress Trac] #36186: users.php and upload.php "Add New" links do not use admin_url()

WordPress Trac noreply at wordpress.org
Wed Mar 9 18:01:47 UTC 2016


#36186: users.php and upload.php "Add New" links do not use admin_url()
-----------------------------------+------------------------------
 Reporter:  johnjamesjacoby        |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Administration         |     Version:  2.0
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:  administration
-----------------------------------+------------------------------

Comment (by johnjamesjacoby):

 It's plausible there are many other places through-out `wp-admin` where
 relative URLs are presumed safe and appropriate. I have foggy memories of
 discussions years ago about sweeping through and updating these, and if my
 foggy memory is to be believed, the remaining stragglers are not
 intentional or with specific purpose.

 I think these 2 places are largely harmless, though, and updating them
 provides parity with other admin pages and introduces a bit of advanced
 flexibility for anyone that needs it.

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


More information about the wp-trac mailing list