link_pages space missing
|Reported by:||vxnick||Owned by:|
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.
Change History (8)
9 years ago
- Keywords bg|has-patch removed
- Resolution set to wontfix
- Status changed from new to closed