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

WordPress Trac noreply at wordpress.org
Thu May 1 16:52:37 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:  reporter-feedback needs-testing-     |     Focuses:  php-
  info                                           |  compatibility
-------------------------------------------------+-------------------------

Comment (by shanemac10):

 @SirLouen Hey thanks for the quick response.

 I just followed the links to submit a code change, and I have no idea why
 there is/was a bunch of other commits tacked on that were being flagged as
 having merge conflicts. I clicked a button to remove them and it just
 closed my PR, so I'm extra confused now (sorry). I went straight back to
 my forked branch from the trunk (shanemac10:rtrim-cast-value-to-string),
 and made the update and a new PR.

 Here's the new PR...
 https://github.com/WordPress/wordpress-develop/pull/8765

 This is a link to the code change itself. It's super simple...
 https://github.com/WordPress/wordpress-develop/compare/trunk...shanemac10
 :wordpress-develop:rtrim-cast-value-to-string

 > Can you also provide a specific testing reproduction example?

 Can you elaborate? Like screenshots of the error on webpage?

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


More information about the wp-trac mailing list