[wp-trac] [WordPress Trac] #37457: Review usage of esc_attr_e()
WordPress Trac
noreply at wordpress.org
Mon Jul 25 12:43:51 UTC 2016
#37457: Review usage of esc_attr_e()
----------------------------------------+-----------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: I18N | Version:
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug | Focuses:
----------------------------------------+-----------------------------
Comment (by SergeyBiryukov):
Previously: #23334.
> Here it should probably be `echo esc_url()` and the URL should be
translatable as done in other similar cases:
> {{{
> setup-config.php
> <p id="logo"><a href="<?php esc_attr_e( 'https://wordpress.org/' ); ?>"
...
>
> }}}
`esc_url()` is not available at that point, see [23455].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37457#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list