[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 12:32:55 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:  new
 Priority:  normal                         |  Milestone:  Awaiting Review
Component:  General                        |    Version:
 Severity:  normal                         |   Keywords:  needs-patch
  Focuses:  performance, coding-standards  |
-------------------------------------------+-----------------------------
 I am getting the given PHP Deprecated Error:

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

 This is happening when null is passed to rtrim().

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


More information about the wp-trac mailing list