Skip to content

Commit

Permalink
Escape the return value of admin_url() with esc_url()
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Fields committed Feb 7, 2013
1 parent ce069e6 commit c0f3582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion no-results.php
Expand Up @@ -17,7 +17,7 @@
<div class="entry-content">
<?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>

<p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', '_s' ), admin_url( 'post-new.php' ) ); ?></p>
<p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', '_s' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>

<?php elseif ( is_search() ) : ?>

Expand Down

0 comments on commit c0f3582

Please sign in to comment.