WordPress.org

Make WordPress Core

Ticket #1477: template-functions-post.3.patch

File template-functions-post.3.patch, 761 bytes (added by skippy, 10 years ago)

I suck, and should be destroyed.

Line 
1116a117
2>       if (!isset($r['sep'])) $r['sep'] = ' ';
3122c123
4<       link_pages($r['before'], $r['after'], $r['next_or_number'], $r['nextpagelink'], $r['previouspagelink'], $r['pagelink'], $r['more_file']);
5---
6>       link_pages($r['before'], $r['after'], $r['sep'], $r['next_or_number'], $r['nextpagelink'], $r['previouspagelink'], $r['pagelink'], $r['more_file']);
7125c126
8< function link_pages($before='<br />', $after='<br />', $next_or_number='number', $nextpagelink='next page', $previouspagelink='previous page', $pagelink='%', $more_file='') {
9---
10> function link_pages($before='<br />', $after='<br />', $sep = ' ', $next_or_number='number', $nextpagelink='next page', $previouspagelink='previous page', $pagelink='%', $more_file='') {
11163a165
12>                   echo $sep;