[wp-trac] [WordPress Trac] #15082: Custom post type empty slug breaks permalinks for pages
WordPress Trac
wp-trac at lists.automattic.com
Thu Jan 13 09:17:06 UTC 2011
#15082: Custom post type empty slug breaks permalinks for pages
--------------------------+------------------------------
Reporter: firebird75 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Post Types | Version: 3.0.1
Severity: normal | Resolution:
Keywords: 2nd-opinion |
--------------------------+------------------------------
Comment (by firebird75):
Thanks for this Nacin!
If I understand well, you patch will prevent plugins from setting the slug
to an empty value and then in that case default the slug to include the
post_type, right?
This is probably a good idea as it will prevent the bug from showing up.
It removes a bit of flexibility but since this one isn't working right
now, it is probably better this way.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15082#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list