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

WordPress Trac noreply at wordpress.org
Thu Jun 4 04:30:30 UTC 2020


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

Comment (by dlh):

 @whyisjake As this change depends on the value of a constant, I'm not sure
 how to reliably test it. Is there any prior art in the PHP unit tests that
 I'm overlooking?

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


More information about the wp-trac mailing list