Support » Themes and Templates » How to esc_url()
3 years, 1 month ago
I’m developing a theme.
When I did Theme Check before giving my theme to the review team it said:
INFO: Possible hard-coded links were found in the file footer.php.
[ Moderator note: please wrap code in backticks or use the code button. ]
<?php printf( __( 'Theme: %1$s by %2$s.', 'willingness' ), 'willingness', '<a href='http://enwil.com/' rel='designer'>Manish Suwal</a>' ); ?>
It’s this code that’s hard-coded:
<a href='http://enwil.com/' rel='designer'>
How do you escape that URL?