I have a following code:
<a href="<?php echo esc_url( esc_attr( get_month_link( get_the_time('Y'),
get_the_time('m') ) ) ); ?>"><?php the_time( get_option( 'date_format' ) ); ?></a>
My question is: am I doing to much unnecessary escaping because as you can see I am using
esc_url()
combined with esc_attr()
. Is this maybe an overkill? THX!!