[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
Sun Jan 6 07:47:46 UTC 2013
#17609: 'View post' link shown even when post type can't be viewed on the front-end
------------------------------+-----------------------
Reporter: scribu | Owner: nacin
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.4
Component: Post Types | Version:
Severity: normal | Resolution:
Keywords: has-patch commit |
------------------------------+-----------------------
Changes (by Jesper800):
* status: closed => reopened
* resolution: fixed =>
Comment:
This is actually not fixed. Viewing the fix,
http://core.trac.wordpress.org/changeset/20667, you can see that it only
checks for the "public" property of a post type. When a post type is
public but not publicly queryable (public true, publicly_queryable false)
posts of the post type are not available by default on the frontend, so
the link should not be shown, but currently, they are.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17609#comment:23>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list