[wp-trac] [WordPress Trac] #17609: 'View post' link shown even when post type can't be viewed on the front-end

WordPress Trac noreply at wordpress.org
Tue Sep 15 09:54:42 UTC 2015


#17609: 'View post' link shown even when post type can't be viewed on the front-end
------------------------------------+--------------------------
 Reporter:  scribu                  |       Owner:  johnbillion
     Type:  defect (bug)            |      Status:  accepted
 Priority:  normal                  |   Milestone:  4.4
Component:  Posts, Post Types       |     Version:  2.9
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+--------------------------

Comment (by johnbillion):

 Replying to [comment:52 bradyvercher]:
 > I have a plugin that allows for managing archive titles, descriptions
 and permalink slugs using a CPT to house that data in the background. The
 background CPT shouldn't be publicly queryable, but it still uses the
 "edit slug box" for managing permalinks. This isn't possible after
 [https://core.trac.wordpress.org/browser/trunk/src/wp-admin/edit-form-
 advanced.php?rev=33672#L535 this line] was added in [33666].

 The post slug can still be edited by enabling the 'Slug' meta box in
 Screen Options. This might even be a preferable UI for your plugin because
 it doesn't suggest that the slug is used in a publicly accessible
 permalink. Let me know what you think.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/17609#comment:56>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list