[wp-trac] [WordPress Trac] #9015: New theme for 3.0 -- Twenty Ten

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 14 00:30:28 UTC 2010


#9015: New theme for 3.0 -- Twenty Ten
----------------------------+-----------------------------------------------
 Reporter:  dd32            |       Owner:     
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.0
Component:  Themes          |     Version:     
 Severity:  normal          |    Keywords:     
----------------------------+-----------------------------------------------

Comment(by Denis-de-Bernardy):

 k... just peeking around. :-)

 btw, while snooping into the twentyten files, I noticed:

 {{{
 <?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:',
 'twentyten' ) . '&after=</div>') ?>
 }}}

 perhaps we should change it and other such calls into the likes of:

 {{{
 <?php wp_link_pages(array('before' => '<div class="page-link">' . __(
 'Pages:', 'twentyten' ), 'after' => '</div>')) ?>
 }}}

 or perhaps even:

 {{{
 <?php wp_link_pages(array(
      'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ),
      'after' => '</div>',
      )) ?>
 }}}

 the second suggestion would get my vote (note the trailing comma), because
 it makes it brain dead simple to copy/paste a line in order to add further
 arguments to the call.

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


More information about the wp-trac mailing list