[wp-trac] [WordPress Trac] #61268: PHP Deprecated: ltrim() in formatting esc_url.

WordPress Trac noreply at wordpress.org
Wed May 22 15:11:29 UTC 2024


#61268: PHP Deprecated:  ltrim() in formatting esc_url.
--------------------------+------------------------------
 Reporter:  neo2k23       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by neo2k23):

 Thank you for the reply...  i get these


 {{{
 [22-May-2024 15:09:38 UTC] Array
 (
     [0] => Array
         (
             [file] => /home/public_html/wp-
 content/plugins/maintenance/load/index.php
             [line] => 68
             [function] => esc_url
         )

     [1] => Array
         (
             [file] => /home/public_html/wp-includes/template-loader.php
             [line] => 106
             [args] => Array
                 (
                     [0] => /home/public_html/wp-
 content/plugins/maintenance/load/index.php
                 )

             [function] => include
         )

     [2] => Array
         (
             [file] => /home/public_html/wp-blog-header.php
             [line] => 19
             [args] => Array
                 (
                     [0] => /home/public_html/wp-includes/template-
 loader.php
                 )

             [function] => require_once
         )

     [3] => Array
         (
             [file] => /home/public_html/index.php
             [line] => 17
             [args] => Array
                 (
                     [0] => /home/public_html/wp-blog-header.php
                 )

             [function] => require
         )

 )

 [22-May-2024 15:09:38 UTC] PHP Deprecated:  ltrim(): Passing null to
 parameter #1 ($string) of type string is deprecated in /home/public_html
 /wp-includes/formatting.php on line 4486
 [22-May-2024 15:09:41 UTC] Array
 (
     [0] => Array
         (
             [file] => /home/public_html/wp-
 content/plugins/maintenance/load/index.php
             [line] => 68
             [function] => esc_url
         )

     [1] => Array
         (
             [file] => /home/public_html/wp-includes/template-loader.php
             [line] => 106
             [args] => Array
                 (
                     [0] => /home/public_html/wp-
 content/plugins/maintenance/load/index.php
                 )

             [function] => include
         )

     [2] => Array
         (
             [file] => /home/public_html/wp-blog-header.php
             [line] => 19
             [args] => Array
                 (
                     [0] => /home/public_html/wp-includes/template-
 loader.php
                 )

             [function] => require_once
         )

     [3] => Array
         (
             [file] => /home/public_html/index.php
             [line] => 17
             [args] => Array
                 (
                     [0] => /home/public_html/wp-blog-header.php
                 )

             [function] => require
         )

 )

 [22-May-2024 15:09:41 UTC] PHP Deprecated:  ltrim(): Passing null to
 parameter #1 ($string) of type string is deprecated in /home/public_html
 /wp-includes/formatting.php on line 4486

 }}}

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


More information about the wp-trac mailing list