Skip to content

Commit f784b27

Browse files
committed
Remove wp_kses_post()
This isn't necessary, since the content is already escaped in the generating function. Late escaping is a good practice, but not sure this is necessary.
1 parent 38e0df6 commit f784b27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,15 +515,15 @@ function twentythirteen_paging_nav() {
515515
<div class="nav-links">
516516
<?php if ( $prev_link ) : ?>
517517
<div class="nav-previous">
518-
<?php echo wp_kses_post( $prev_link ); ?>
518+
<?php echo $prev_link; ?>
519519
</div>
520520
<?php
521521
endif;
522522

523523
if ( $next_link ) :
524524
?>
525525
<div class="nav-next">
526-
<?php echo wp_kses_post( $next_link ); ?>
526+
<?php echo $next_link; ?>
527527
</div>
528528
<?php endif; ?>
529529

0 commit comments

Comments
 (0)