[wp-trac] [WordPress Trac] #2752: link_pages space missing

WordPress Trac wp-trac at lists.automattic.com
Sun May 28 22:26:35 GMT 2006


#2752: link_pages space missing
-----------------------+----------------------------------------------------
       Id:  2752       |      Status:  new                     
Component:  Template   |    Modified:  Sun May 28 22:26:35 2006
 Severity:  trivial    |   Milestone:                          
 Priority:  normal     |     Version:  2.0.2                   
    Owner:  anonymous  |    Reporter:  vxnick                  
-----------------------+----------------------------------------------------
 Hi,

 In reference to ticket 1477, I have created a new patch based on skippy's
 existing patch.

 I can confirm that this works on my 2.1 Alpha and 2.0.2 installations.

 To customise the separator, you need to specify one additional parameter
 (at the end of the function, to avoid breaking things):

 {{{
 link_pages($before, $after, $next_or_number, $nextpagelink,
 $previouspagelink, $pagelink, $more_file, $sep);
 }}}

 The new $sep variable defaults to one space character to separate the
 'previous' and 'next' text when using <!--nextpage-->.

 My apologies if I've missed anything out - this is my first Wordpress
 patch, and first time using Trac.

 Regards,
 Nick.

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


More information about the wp-trac mailing list