Merge pull request #742 from andyjsaint/wp_kses

In the arguments passed to `the_content()`, whitelist the class attribute of the Read More link so that it passes through `wp_kses()`.
This commit is contained in:
Fränk Klein 2015-05-08 11:56:21 +02:00
commit 347692110c
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
<?php
/* translators: %s: Name of current post */
the_content( sprintf(
wp_kses( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', '_s' ), array( 'span' => array() ) ),
wp_kses( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', '_s' ), array( 'span' => array( 'class' => array() ) ) ),
the_title( '<span class="screen-reader-text">"', '"</span>', false )
) );
?>