[wp-trac] [WordPress Trac] #62586: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in wp-includes/formatting.php:2820

WordPress Trac noreply at wordpress.org
Wed Nov 27 13:18:18 UTC 2024


#62586: rtrim(): Passing null to parameter #1 ($string) of type string is
deprecated in wp-includes/formatting.php:2820
--------------------------+-------------------------------
 Reporter:  narenin       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Formatting    |     Version:
 Severity:  normal        |  Resolution:  wontfix
 Keywords:  has-patch     |     Focuses:  coding-standards
--------------------------+-------------------------------
Changes (by swissspidy):

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


Comment:

 If you click on the "+" button in Query Monitor you will see which plugin
 or theme is causing this warning.

 The issue should be fixed there. It's not core's job to ensure the
 plugin/theme is passing the right type everywhere. The plugin/theme needs
 to do that properly.

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


More information about the wp-trac mailing list