[wp-trac] [WordPress Trac] #29375: When publishing a non-public post type post
WordPress Trac
noreply at wordpress.org
Tue Aug 26 14:44:31 UTC 2014
#29375: When publishing a non-public post type post
-------------------------------+------------------------------
Reporter: slobodanmanic | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration
-------------------------------+------------------------------
Changes (by DrewAPicture):
* keywords: => has-patch
* focuses: => administration
Comment:
Hi, thanks for the ticket. This issue has been raised several times before
in other tickets, though in #17609 it was suggested to create a new ticket
for updating these messages. This should suffice.
I think @jfarthing84 makes a good point in comment:33:ticket:17609 in that
we should probably be checking `publicly_queryable` instead of `public` as
the former is really what we're dealing with. And if `publicly_queryable`
isn't set, it falls back to the value of `public` anyway.
[attachment:29375.2.diff] addresses your DRY concerns.
Related: #17609.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29375#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list