[wp-trac] [WordPress Trac] #55037: get_posts why returning draft post list?

WordPress Trac noreply at wordpress.org
Wed Feb 2 06:46:39 UTC 2022


#55037: get_posts why returning draft post list?
-------------------------------+------------------------------
 Reporter:  sumitsingh         |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  5.9
 Severity:  critical           |  Resolution:
 Keywords:  has-screenshots    |     Focuses:
-------------------------------+------------------------------

Comment (by sumitsingh):

 Sorry we have call ajax with above mentioned first message

 add_action ( 'wp_ajax_nopriv_first_post_ajax', 'first_post_ajax' );
 add_action ( 'wp_ajax_first_post_ajax', 'first_post_ajax' );

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


More information about the wp-trac mailing list