[wp-trac] [WordPress Trac] #56633: Deprecated: rtrim(): Passing null to parameter #1

WordPress Trac noreply at wordpress.org
Fri Sep 23 06:07:43 UTC 2022


#56633: Deprecated: rtrim(): Passing null to parameter #1
------------------------------+-----------------------------
 Reporter:  imadarshakshat    |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Formatting        |    Version:
 Severity:  normal            |   Keywords:
  Focuses:  coding-standards  |
------------------------------+-----------------------------
 load_script_textdomain's third parameter($path)'s default value is null
 which generates a deprecated warning when  untrailingslashit is called on
 Admin Screen.

 Steps to reproduce :
 1) Install 6.1-beta1-54288 with WP_DEBUG set to true
 2) Switch to TTT theme
 3) Load any admin page

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


More information about the wp-trac mailing list