#23334 closed defect (bug) (fixed)
Use the proper function to escape WP.org links
Reported by: | SergeyBiryukov | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 3.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Formatting | Keywords: | has-patch |
Focuses: | Cc: |
Description
We use esc_attr_e()
in some places:
<a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a>
esc_url( __( 'http://wordpress.org/' ) )
should be used instead.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Related: #23266