[wp-trac] [WordPress Trac] #57580: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in functions.php
WordPress Trac
noreply at wordpress.org
Tue Dec 12 05:04:51 UTC 2023
#57580: strpos(): Passing null to parameter #1 ($haystack) of type string is
deprecated in functions.php
--------------------------+----------------------
Reporter: ipajen | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version: 6.2
Severity: normal | Resolution: invalid
Keywords: PHP81 close | Focuses:
--------------------------+----------------------
Comment (by sabernhardt):
@insecttrojan
Thanks for sharing the details! Those two plugins were also using `null`
in `add_submenu_page()`, and both already corrected the type (in
[https://plugins.trac.wordpress.org/changeset/2931134/ Header Footer
version 1.1.33] and [https://plugins.trac.wordpress.org/browser/wp-google-
places-review-slider/tags/12.5/admin/class-wp-google-reviews-
admin.php?marks=273,279#L273 Google Review version 12.5]).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57580#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list