[wp-trac] [WordPress Trac] #15943: Custom Post Type not being set on WPMS with Custom Permalinks

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 22 18:08:13 UTC 2010


#15943: Custom Post Type not being set on WPMS with Custom Permalinks
--------------------------+------------------------------
 Reporter:  sterlo        |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Multisite     |     Version:  3.0.3
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by jameslafferty):

 I've been able to reproduce this bug in beta.

 Steps to reproduce:

 1. Install latest trunk of WordPress via svn.
 2. Enable multisite.
 3. Enable a custom permalink structure (I used day and name:
 /%year%/%monthnum%/%day%/%postname%/).
 4. Add the "Products" custom post-type from the codex example to the top
 of twentyten/functions.php
 5. Create a new Product.
 6. When you go click View Post, you get a 404.
 7. Note that I was able to reproduce only the first time I visited the
 post immediately after creating it.
 8. Also note that this seems to be an issue of how the permalink is set up
 in the admin UI when the post is first created. The url I first visited
 (on my local machine) that returned the 404 was http://wp-
 beta.loc/2010/12/22/foo/. Subsequently, the view page link pointed to http
 ://wp-beta.loc/acme_product/foo/.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15943#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list