Ticket #27834: 27834.diff
| File 27834.diff, 1.6 KB (added by , 12 years ago) |
|---|
-
src/wp-includes/general-template.php
1188 1188 if ( '' == $type ) 1189 1189 $type = 'monthly'; 1190 1190 1191 // Don't add LIMIT clause if limit is 0 1192 if ( 0 === $limit ) { 1193 $limit = ''; 1194 } 1195 1191 1196 if ( '' != $limit ) { 1192 1197 $limit = absint($limit); 1193 1198 $limit = ' LIMIT '.$limit; … … 1976 1981 * 1977 1982 * @since 0.71 1978 1983 * 1979 * @param string $the_weekday 1984 * @param string $the_weekday 1980 1985 */ 1981 1986 $the_weekday = apply_filters( 'the_weekday', $the_weekday ); 1982 1987 echo $the_weekday; … … 2008 2013 * 2009 2014 * @since 0.71 2010 2015 * 2011 * @param string $the_weekday_date 2016 * @param string $the_weekday_date 2012 2017 * @param string $before The HTML to output before the date. 2013 2018 * @param string $after The HTML to output after the date. 2014 2019 */ … … 2409 2414 * It is possible to add query vars to the link by using the 'add_args' argument 2410 2415 * and see {@link add_query_arg()} for more information. 2411 2416 * 2412 * The 'before_page_number' and 'after_page_number' arguments allow users to 2417 * The 'before_page_number' and 'after_page_number' arguments allow users to 2413 2418 * augment the links themselves. Typically this might be to add context to the 2414 2419 * numbered links so that screen reader users understand what the links are for. 2415 * The text strings are added before and after the page number - within the 2420 * The text strings are added before and after the page number - within the 2416 2421 * anchor tag. 2417 2422 * 2418 2423 * @since 2.1.0