[wp-trac] [WordPress Trac] #27674: WP_Query auto-draft

WordPress Trac noreply at wordpress.org
Fri Apr 11 06:42:56 UTC 2014


#27674: WP_Query auto-draft
--------------------------+------------------------------
 Reporter:  Philo01       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Query         |     Version:  3.8.1
 Severity:  normal        |  Resolution:
 Keywords:  2nd-opinion   |     Focuses:
--------------------------+------------------------------

Comment (by Philo01):

 I'm currently using get_post() but WP_Query seemed easier, because with
 get_post() you can't specify any rules, so now you need to do a few if
 statements to make sure it's an attachment, from the correct author etc.

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


More information about the wp-trac mailing list