[wp-trac] [WordPress Trac] #34100: New Page titled wp-admin has slug wp-admin, so will go to the dashboard
WordPress Trac
noreply at wordpress.org
Wed Sep 30 17:02:40 UTC 2015
#34100: New Page titled wp-admin has slug wp-admin, so will go to the dashboard
--------------------------+-----------------------------
Reporter: kaixinlin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version: 4.3.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
When creating a new Page title '''wp-admin''', the slug is by default
'''wp-admin''' as well, the link of the page will end up being
http://example.com/wp-admin, and so will go to the dashboard.
A way to fix the problem would be to automatically rename the slug as
'''wp-admin-2'''. (Which may require the creation of a slug blacklist?)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34100>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list