[wp-trac] [WordPress Trac] #57867: Fix PHP warning when passing NULL to rtrim().

WordPress Trac noreply at wordpress.org
Tue Aug 8 19:29:12 UTC 2023


#57867: Fix PHP warning when passing NULL to rtrim().
-----------------------------------------------+----------------------
 Reporter:  tools400                           |       Owner:  (none)
     Type:  enhancement                        |      Status:  closed
 Priority:  normal                             |   Milestone:
Component:  Formatting                         |     Version:  6.2
 Severity:  normal                             |  Resolution:  invalid
 Keywords:  has-patch reporter-feedback php81  |     Focuses:
-----------------------------------------------+----------------------
Changes (by hellofromTonya):

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


Comment:

 Hello @tools400,

 Welcome! Thank you for creating the ticket :)

 I agree the fix should be in the plugin or theme that is incorrectly
 passing something other than a string.

 Thank you for following up to suggest closing. If in the future you do get
 time to investigate and find it happens on a clean default site (with no
 plugins and using a default theme), then please reopen this ticket.

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


More information about the wp-trac mailing list