﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
15082,Custom post type empty slug breaks permalinks for pages,firebird75,,"If I register a custom post type using the register_post_type function and I pass the following parameter :

rewrite => array('slug' => '')

If the blog permalink structure is set to /%postname%/, then it breaks the rewriting rules for pages (post of type page). They return a 404 error when you try to open it. You need to save at least one page after having registered the custom post type to see the issue.

Setting the custom post type slug to the value '' is made to have custom post type permalink structure match the blog permalink structure (ie only /%postname%/ in the url).
",defect (bug),closed,normal,3.1,Post Types,3.0.1,normal,fixed,2nd-opinion,autremonde75@…
