[wp-trac] [WordPress Trac] #3530: Change tag for MORE link text

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 6 14:24:34 GMT 2007


#3530: Change tag for MORE link text
-------------------------+--------------------------------------------------
 Reporter:  coolmann     |       Owner:  anonymous         
     Type:  enhancement  |      Status:  new               
 Priority:  normal       |   Milestone:  2.1               
Component:  Template     |     Version:  2.1               
 Severity:  normal       |    Keywords:  more post-template
-------------------------+--------------------------------------------------
 I'd like to ask a small hack for Wordpress 2.x (both 2.0.x and 2.1 series
 are affected). For accessibility reasons, it would be nice to customize
 the "read more" link text added when using the <!--more--> separator. In
 post-template.php (for milestone 2.1) you have at row 98:

 $output .= '<a id="more-'.$id.'"></a>'.$content[1];

 Could you please replace this with

 $output .= '<span id="more-'.$id.'">&nbsp;</span>'.$content[1];

 Because an "empty link" is a bad practice, and raises an error when
 validating the page against W3C automatic validators.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3530>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list