[wp-trac] [WordPress Trac] #63255: WP_Query normalization can break plugin filters comparing query variables.

WordPress Trac noreply at wordpress.org
Thu Apr 10 14:13:27 UTC 2025


#63255: WP_Query normalization can break plugin filters comparing query variables.
--------------------------------------+---------------------
 Reporter:  peterwilsoncc             |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  6.8
Component:  Query                     |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by swissspidy):

 Am I the only one not convinced that this needs a revert?

 What bbPress does seems brittle either way, plugins shouldn't rely on the
 order of array items like that. And this doesn't appear to be a widespread
 problem either.

 My suggestion would be:

 1. Fix bbPress
 2. Ship 6.8 as-is, maybe make this more clear in the field guide if
 needed.
 3. Keep an eye out for more cases, and then reassess for 6.8.1.

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


More information about the wp-trac mailing list