[wp-trac] [WordPress Trac] #21417: Custom Post Type Permalink Returns 404 Error
WordPress Trac
wp-trac at lists.automattic.com
Tue Jul 31 02:49:50 UTC 2012
#21417: Custom Post Type Permalink Returns 404 Error
-------------------------------+------------------------------
Reporter: imageac | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version: 3.4.1
Severity: critical | Resolution:
Keywords: reporter-feedback |
-------------------------------+------------------------------
Changes (by SergeyBiryukov):
* keywords: needs-patch needs-codex => reporter-feedback
Comment:
I couldn't reproduce the 404 error using your example on a clean install
with Twenty Twelve.
My steps:
1. Added your code to the theme's `functions.php` file.
2. Flushed rewrite rules by visiting the Permalink Settings screen.
3. Created a new product (Product 1).
4. Visited /products/product-1/. The post is properly displayed.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21417#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list