[wp-trac] [WordPress Trac] #26978: In the admin area, the WP menu to the left links to index.php for the dashboard

WordPress Trac noreply at wordpress.org
Sun Feb 2 10:02:20 UTC 2014


#26978: In the admin area, the WP menu to the left links to index.php for the
dashboard
-------------------------------+------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Administration     |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:  ui
-------------------------------+------------------------------

Comment (by Denis-de-Bernardy):

 Replying to [comment:1 nacin]:
 > The entire admin menu uses just relative URLs, not just index.php. Why
 does this matter?

 It's prettier and more consistent:

 - from the front-end, you see the url you're going as example.com/wp-
 admin/
 - from the back-end, you see the url you're going as example.com/wp-
 admin/index.php

 Changing that from index.php to ./ in the menu code would make the two
 show as example.com/wp-admin/.

 I'll supply the patch for you to see if you're interested (I'm resorting
 to js in the meanwhile.) Else, just close as wontfix.

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


More information about the wp-trac mailing list