[wp-trac] [WordPress Trac] #59154: PHP Deprecated: ltrim():

WordPress Trac noreply at wordpress.org
Mon Aug 21 08:17:56 UTC 2023


#59154: PHP Deprecated:  ltrim():
--------------------------+--------------------------------
 Reporter:  codersantosh  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  6.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  php-compatibility
--------------------------+--------------------------------
Changes (by nihar007):

 * keywords:   => has-patch


Comment:

 Hi @codersantosh,
 You are right.
 I think adding a check before filtering the link using the esc_url
 function, will be the best solution.

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


More information about the wp-trac mailing list