Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #56336, comment 2


Ignore:
Timestamp:
08/05/2022 04:01:13 AM (3 years ago)
Author:
costdev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56336, comment 2

    initial v1  
     1I'm getting the a warning for illegal offset type when appending `?sitemap[foo]=bar`, but in my case it's `wp-includes/taxonomy.php`:
     2
     3{{{
     4Warning: Illegal offset type in isset or empty in src/wp-includes/taxonomy.php on line 340
     5}}}
     6
     7Looks like both may need an `is_string()` check on the value being passed to `isset()`. Both are documented as a `string`.