[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
Thu Aug 20 19:14:35 UTC 2015


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

Comment (by DrewAPicture):

 [attachment:17609.4.diff] adds some sanity in formatting to that
 ternary/sprintf block, and adds complete docs for
 `is_post_type_viewable()`.

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


More information about the wp-trac mailing list