Change more from anchor to span for proper validation. Props coolmann and rob1n. fixes #3530

git-svn-id: https://develop.svn.wordpress.org/trunk@4925 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2007-02-23 01:15:51 +00:00
parent 93ccf15e1d
commit 4ff1f542b8
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ function get_the_content($more_link_text = '(more...)', $stripteaser = 0, $more_
$output .= $teaser; $output .= $teaser;
if ( count($content) > 1 ) { if ( count($content) > 1 ) {
if ( $more ) { if ( $more ) {
$output .= '<a id="more-'.$id.'"></a>'.$content[1]; $output .= '<span id="more-'.$id.'"></span>'.$content[1];
} else { } else {
$output = balanceTags($output); $output = balanceTags($output);
if ( ! empty($more_link_text) ) if ( ! empty($more_link_text) )