[wp-trac] [WordPress Trac] #34373: Don't set is_home=>true in WP_Query during REST request
WordPress Trac
noreply at wordpress.org
Tue Jun 16 06:03:11 UTC 2020
#34373: Don't set is_home=>true in WP_Query during REST request
------------------------------+---------------------------
Reporter: danielbachhuber | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.4
Component: REST API | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+---------------------------
Comment (by whyisjake):
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/34373#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list