[wp-trac] [WordPress Trac] #39947: REST API: Sticky post query returns unsticky posts when no posts are sticky

WordPress Trac noreply at wordpress.org
Thu Feb 23 16:55:10 UTC 2017


#39947: REST API: Sticky post query returns unsticky posts when no posts are sticky
--------------------------+--------------------
 Reporter:  ryelle        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.7.4
Component:  REST API      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+--------------------

Comment (by jnylen0):

 I would say that we need to get it committed to trunk today or tomorrow at
 the very latest.  A bit of a stretch, but potentially doable.

 > if there are no sticky posts set

 I guess we need to know what `get_option( 'sticky_posts' )` returns in
 this case, and what other values it might return.

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


More information about the wp-trac mailing list