[wp-trac] [WordPress Trac] #13198: Typo in Twenty Ten

WordPress Trac wp-trac at lists.automattic.com
Mon May 3 23:25:56 UTC 2010


#13198: Typo in Twenty Ten
-------------------------+--------------------------------------------------
 Reporter:  zeo          |       Owner:                       
     Type:  enhancement  |      Status:  new                  
 Priority:  normal       |   Milestone:  3.0                  
Component:  Themes       |     Version:  3.0                  
 Severity:  normal       |    Keywords:  has-patch 2nd-opinion
-------------------------+--------------------------------------------------

Comment(by zeo):

 In reply to nacin:
 "Two spaces in a row don't render as two. For that, you need to use at
 least one non-breaking space."

 So then why 2 of this is different? Both are in the same row.
 {{{
 <?php edit_comment_link( __( '(Edit)', 'twentyten' ),'  ','' ); ?></div>
 }}}

 {{{
 <?php edit_comment_link ( __('edit', 'twentyten'), '&nbsp;&nbsp;', '' );
 ?></p>
 }}}

 I think rather than using "an empty" non-breaking space or space, add some
 span tag with class edit-link:
 {{{
 <?php edit_comment_link( __( '(Edit)', 'twentyten' ), ' <span class="edit-
 link">', '</span>' ); ?></div>
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13198#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list