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

WordPress Trac noreply at wordpress.org
Sat Jun 7 17:10:59 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-test-info changes-requested      |     Focuses:  php-
  has-patch 2nd-opinion                          |  compatibility
-------------------------------------------------+-------------------------
Changes (by SirLouen):

 * keywords:  has-test-info dev-feedback changes-requested => has-test-info
     changes-requested has-patch 2nd-opinion


Comment:

 As I commented in the report, I would suggest adding an exception for
 anything not string, instead of forcing a string conversion.

 I would like to hear a second opinion on this topic.

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


More information about the wp-trac mailing list