[wp-trac] [WordPress Trac] #52199: Query string is expecting a array but is receiving a string

WordPress Trac noreply at wordpress.org
Fri Jan 1 14:18:02 UTC 2021


#52199: Query string is expecting a array but is receiving a string
--------------------------+----------------------
 Reporter:  zeshanb       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Permalinks    |     Version:  5.6
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by johnbillion):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Thanks for the report @zeshanb but this appears to be a bug in your
 filter. You need to uncomment the `//return $query_string;` line,
 otherwise your filter returns `null`. Let us know if that's not the case.

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


More information about the wp-trac mailing list