[wp-trac] [WordPress Trac] #20571: problems with slug and view in custom post types

WordPress Trac noreply at wordpress.org
Sun Jul 28 20:05:04 UTC 2013


#20571: problems with slug and view in custom post types
--------------------------+------------------------------
 Reporter:  thomask       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Post Types    |     Version:  3.3.1
 Severity:  minor         |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------

Comment (by jarednova):

 I can confirm '''issue 1''' reported by @thomask. To clarify his steps:


 1) Register a new post type (I used the books example from
 http://codex.wordpress.org/Function_Reference/register_post_type)
 2) Create a new book ("Jurrassic Pak") and save, the permalink will be:
 http://localhost/?book=jurrassic-pak
 3) Whoops! You realize there's a typo in your title, so you correct it to
 "Jurassic Park" -- but the typo is still in the slug, there's no way to
 update the posts's slug!

 ----

 However on '''Issue 2''' (publicly queryable), this IS documented in the
 codex as a gotcha ("Note: If you set this to FALSE, you will find that you
 cannot preview/see your custom post (return 404).") and seems to be a
 hotly debated topic in other tickets: (#17609) and (#20098).

 I'm going to attempt issue #1, I'd recommend pursuing issue #2 as a
 separate ticket or via one of the related ones (#17609) and (#20098).

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


More information about the wp-trac mailing list