[wp-trac] [WordPress Trac] #61268: PHP Deprecated: ltrim() in formatting esc_url.
WordPress Trac
noreply at wordpress.org
Mon Jul 1 20:51:20 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: Formatting | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by robinmartijn):
Replying to [comment:6 siliconforks]:
> Modifying `esc_url()` to eliminate the warning would really just be
masking the issue - it wouldn't actually be fixing the source of the
problem.
It’s not just a warning, it’s a deprecation. If we don’t fix this, it will
result in actual errors in a future PHP version.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61268#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list