Skip to content

Commit d794461

Browse files
committed
Remove wp_kses_post
1 parent 14e0908 commit d794461

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wp-content/themes/twentyeleven/functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -654,11 +654,11 @@ function twentyeleven_content_nav( $html_id ) {
654654
<nav id="<?php echo esc_attr( $html_id ); ?>">
655655
<h3 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h3>
656656
<?php if ( $prev_link ) : ?>
657-
<div class="nav-previous"><?php echo wp_kses_post( $prev_link ); ?></div>
657+
<div class="nav-previous"><?php echo $prev_link; ?></div>
658658
<?php endif; ?>
659659

660660
<?php if ( $next_link ) : ?>
661-
<div class="nav-next"><?php echo wp_kses_post( $next_link ); ?></div>
661+
<div class="nav-next"><?php echo $next_link; ?></div>
662662
<?php endif; ?>
663663
</nav><!-- #<?php echo esc_attr( $html_id ); ?> -->
664664
<?php

0 commit comments

Comments
 (0)