maybe it's not such a big deal as I think it is, but I want to escape href attribute with some text. Which one of these examples is the "correct" one - and does it actually matter?
<?php printf( esc_html__( '%1$s and %2$s.', 'theme_name' ), 'One', '<a href="http://example.com/">Two</a>' ); ?>
<?php printf( __('One and <a href="%1$s" class="class">%2$s</a>.', 'theme_name'), esc_url( __( 'http://example.com/' ) ), esc_html__( 'Two' ) ); ?>
I'm asking because the second one is using esc_url for URL, which to me, seems more secure than the first one.