[wp-trac] [WordPress Trac] #63379: Fix for deprecated rtrim passing null to parameter

WordPress Trac noreply at wordpress.org
Fri May 9 05:56:25 UTC 2025


#63379: Fix for deprecated rtrim passing null to parameter
-------------------------------------------------+-------------------------
 Reporter:  shanemac10                           |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Formatting                           |     Version:  6.8
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-testing-info dev-      |     Focuses:  php-
  feedback                                       |  compatibility
-------------------------------------------------+-------------------------

Comment (by ArtZ91):

 I found that some bots triggering this E_DEPRECATED `rtrim(): Passing null
 to parameter #1 ($string) of type string is deprecated` just by GET
 request like `https://mydomain//<SomeRandomString>.php` (with two slashes
 after domain).

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


More information about the wp-trac mailing list