[wp-trac] [WordPress Trac] #25838: Viewing single posts of CPT 'author' result in 404 after upgrade
WordPress Trac
noreply at wordpress.org
Tue Nov 5 18:54:36 UTC 2013
#25838: Viewing single posts of CPT 'author' result in 404 after upgrade
--------------------------+-----------------------------
Reporter: brianbws | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.7.1
Severity: normal | Keywords:
--------------------------+-----------------------------
Everything works fine in a clean install of 3.6.1 with this in
functions.php:
{{{
add_action( 'init', 'create_custom_post_types' );
function create_custom_post_types() {
$args = array(
'public' => true,
'label' => 'Authors'
);
register_post_type( 'author', $args );
}
}}}
But after upgrading to 3.7.1 you can no longer go to a single page without
getting a 404 error. This happens with or without permalinks enabled.
Someone else has had the same problem here:
http://stackoverflow.com/questions/19583960/404-errors-after-update-to-
wordpress-3-7
This has affected 2 of my large live sites so hope it can be fixed soon.
Thanks!
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25838>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list