[wp-trac] [WordPress Trac] #14238: WordPress prevents pages with numeric slugs
WordPress Trac
wp-trac at lists.automattic.com
Thu Jul 8 22:15:59 UTC 2010
#14238: WordPress prevents pages with numeric slugs
--------------------------+-------------------------------------------------
Reporter: vividvisions | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version: 3.0
Severity: major | Keywords: slug, unique, numeric, page, pages
--------------------------+-------------------------------------------------
Comment(by vividvisions):
Yes, I know. Thanks for the link, this looks quite interesting.
But the problem remains wp_unique_post_slug since it will always reject
numeric slugs for pages. Step one would be to change this function to
accept any page slug as long as there is no possible conflict. Maybe my
idea above works, I'll look into that.
Step two would be to enhance the URL resolving, so that WP isn't confused
anymore when it encounters numeric slugs for pages. A neat URL routing
mechanism like described in #12935 would help a lot.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14238#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list