[wp-trac] [WordPress Trac] #52458: WordPress version check is passing "false" value to "esc_url" causing errors (in the logs)

WordPress Trac noreply at wordpress.org
Fri Feb 5 22:27:08 UTC 2021


#52458: WordPress version check is passing "false" value to "esc_url" causing
errors (in the logs)
--------------------------+------------------------------
 Reporter:  jipmoors      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  5.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------
Changes (by jipmoors):

 * Attachment "esc_url_type_safety.patch" added.

 Add a type check before using ltrim

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


More information about the wp-trac mailing list