Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #56518, comment 4


Ignore:
Timestamp:
08/27/2023 01:48:48 PM (2 years ago)
Author:
Cybr
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56518, comment 4

    v1 v2  
    44`fn ( $term ) => is_string( $term ) ? strlen( $term ) : $term`
    55
    6 I'm not sure if query parameter `?cat=42` will have `42` be an integer or string, but `0` wouldn't be accepted here anyway and causes the query to break in different ways due to `$GLOBALS['wp']->query_vars` being a hole.
     6I'm not sure if query parameter `?cat=42` will have `42` be an integer or string, but `0` wouldn't be accepted here anyway and causes the query to break in different ways due to `$GLOBALS['wp']->public_query_vars` being a hole.