Change more from anchor to span for proper validation. Props coolmann and rob1n. fixes #3530
git-svn-id: http://svn.automattic.com/wordpress/trunk@4925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3255fbb593
commit
e9fab607a0
|
@ -95,7 +95,7 @@ function get_the_content($more_link_text = '(more...)', $stripteaser = 0, $more_
|
|||
$output .= $teaser;
|
||||
if ( count($content) > 1 ) {
|
||||
if ( $more ) {
|
||||
$output .= '<a id="more-'.$id.'"></a>'.$content[1];
|
||||
$output .= '<span id="more-'.$id.'"></span>'.$content[1];
|
||||
} else {
|
||||
$output = balanceTags($output);
|
||||
if ( ! empty($more_link_text) )
|
||||
|
|
Loading…
Reference in New Issue