Ticket #18604: general-template.patch
File general-template.patch, 811 bytes (added by , 13 years ago) |
---|
-
general-template.php
1949 1949 endif; 1950 1950 switch ( $type ) : 1951 1951 case 'array' : 1952 return $page_links;1952 return apply_filters( 'paginate_links_array', $page_links ) ; 1953 1953 break; 1954 1954 case 'list' : 1955 1955 $r .= "<ul class='page-numbers'>\n\t<li>"; 1956 $r .= join("</li>\n\t<li>", $page_links);1956 $r .= join("</li>\n\t<li>", apply_filters( 'paginate_links_array', $page_links ) ); 1957 1957 $r .= "</li>\n</ul>\n"; 1958 1958 break; 1959 1959 default : 1960 $r = join("\n", $page_links);1960 $r = join("\n", apply_filters( 'paginate_links_array', $page_links ) ); 1961 1961 break; 1962 1962 endswitch; 1963 return $r;1963 return apply_filters( 'paginate_links_html', $r ); 1964 1964 } 1965 1965 1966 1966 /**