[wp-trac] [WordPress Trac] #48367: wp-admin wrong links when doing php serve

WordPress Trac noreply at wordpress.org
Fri Oct 18 15:56:13 UTC 2019


#48367: wp-admin wrong links when doing php serve
----------------------------+-----------------------------
 Reporter:  eduardoarandah  |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  5.2.3
 Severity:  minor           |   Keywords:  needs-patch
  Focuses:                  |
----------------------------+-----------------------------
 Run a wordpress site locally with:


 {{{
 sudo php -S mysite.local:80
 }}}

 Login and navigate to:
 http://mysite.local/wp-admin

 wp-admin shows wrong menu links when URL don't have an ending /
 http://mysite.local/wp-admin

 menu links are correct when URL is like:
 http://mysite.local/wp-admin/

 menu links are also correct when URL is:
 http://mysite.local/wp-admin/index.php

 Example of wrong link:
 http://mysite.local/options-general.php

 instead of:
 http://mysite.local/wp-admin/options-general.php

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48367>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list