[wp-trac] [WordPress Trac] #62011: Deprecated: strpos(): Passing null to parameter

WordPress Trac noreply at wordpress.org
Sun Sep 8 13:31:04 UTC 2024


#62011: Deprecated: strpos(): Passing null to parameter
----------------------------+--------------------------------
 Reporter:  calliko         |       Owner:  (none)
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Administration  |     Version:  6.6.1
 Severity:  minor           |  Resolution:  duplicate
 Keywords:  has-patch       |     Focuses:  php-compatibility
----------------------------+--------------------------------
Changes (by swissspidy):

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


Comment:

 Hi there and welcome to WordPress Trac!

 This has been reported a few times in the past and we're trying to keep
 all the discussions in one place. Hence I am closing this as a duplicate
 of #57580.

 Also worth noting that we generally do not want to paper over deprecation
 warnings like this by adding sanity checks in low-level functions. These
 kinds of issues should ideally be addressed at the root.

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


More information about the wp-trac mailing list