Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #56064, comment 3


Ignore:
Timestamp:
06/24/2022 01:52:52 PM (2 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56064, comment 3

    initial v1  
    33It looks like `esc_attr()` was used here as of [12051] / #10252, since `esc_url()` did not work correctly with some accented characters at the time, see #10859.
    44
    5 Since #10859 was fixed in [12199], and `esc_url()` no longer returns an empty string for the URL listed there in my testing, I think we should indeed be able to `esc_url()` here.
     5Since #10859 was fixed in [12199], and `esc_url()` no longer returns an empty string for the URL listed there in my testing, I think we should indeed be able to use `esc_url()` here.