WordPress.org

Make WordPress Core

Opened 4 weeks ago

#48367 new defect (bug)

wp-admin wrong links when doing php serve

Reported by: eduardoarandah Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 5.2.3
Component: Administration Keywords: needs-patch
Focuses: Cc:
PR Number:

Description

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

Change History (0)

Note: See TracTickets for help on using tickets.