forked from mirror/_s
escape the permalink
This commit is contained in:
parent
c89d030c6b
commit
8b30ee99f7
|
@ -6,7 +6,7 @@
|
|||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<?php the_title( sprintf( '<h1 class="entry-title"><a href="%s" rel="bookmark">', get_permalink() ), '</a></h1>' ); ?>
|
||||
<?php the_title( sprintf( '<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h1>' ); ?>
|
||||
|
||||
<?php if ( 'post' == get_post_type() ) : ?>
|
||||
<div class="entry-meta">
|
||||
|
|
Reference in New Issue