WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #17609, comment 23


Ignore:
Timestamp:
01/06/2013 08:01:09 AM (8 years ago)
Author:
Jesper800
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17609, comment 23

    initial v1  
    11This 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.
     2
     3A problem with this is that pages are not publicly queryable, as they are handled separately. What would be a good way to actually check whether a post is available on the frontend?