[wp-trac] [WordPress Trac] #50213: REST API: Allow queries other than the main query to be `is_home`

WordPress Trac noreply at wordpress.org
Tue Jun 16 06:03:11 UTC 2020


#50213: REST API: Allow queries other than the main query to be `is_home`
-----------------------------------------------+------------------------
 Reporter:  dlh                                |       Owner:  whyisjake
     Type:  defect (bug)                       |      Status:  closed
 Priority:  normal                             |   Milestone:  5.5
Component:  REST API                           |     Version:  4.4
 Severity:  normal                             |  Resolution:  fixed
 Keywords:  commit has-patch needs-unit-tests  |     Focuses:
-----------------------------------------------+------------------------
Changes (by whyisjake):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48053" 48053]:
 {{{
 #!CommitTicketReference repository="" revision="48053"
 REST API: Allow queries other than the main query to be `is_home`.

 Ensure that REST API calls can match the main query of the page.

 See #34373.

 Fixes #50213.

 Props: dlh, TimothyBlynJacobs, boonebgorges, joemcgill, whyisjake.
 }}}

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


More information about the wp-trac mailing list