[wp-trac] [WordPress Trac] #28568: Can't get private posts/pages via WP_Query when not logged in as administrator

WordPress Trac noreply at wordpress.org
Wed Jun 18 03:47:59 UTC 2014


#28568: Can't get private posts/pages via WP_Query when not logged in as
administrator
--------------------------+----------------------
 Reporter:  mklusak       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Query         |     Version:  3.9
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------

Comment (by mklusak):

 Well, thank you for your responses. It's obvious that the Codex line is a
 little bit misleading ... because of hours of my time spent by googling
 any solution and composing Trac ticket. I have read it as "post_status =>
 private - you can get programmatically posts, which URL access is
 restricted for not logged in users (--> ''not visible to users who are not
 logged in'')" ... but as I see now, I was wrong. Well, now I am smarter.

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


More information about the wp-trac mailing list