|
@@ 1759-1761 (lines=3) @@
|
| 1756 |
|
} |
| 1757 |
|
/* translators: 1: month name, 2: 4-digit year */ |
| 1758 |
|
$text = sprintf( __( '%1$s %2$d' ), $wp_locale->get_month( $result->month ), $result->year ); |
| 1759 |
|
if ( $r['show_post_count'] ) { |
| 1760 |
|
$r['after'] = ' (' . $result->posts . ')' . $after; |
| 1761 |
|
} |
| 1762 |
|
$output .= get_archives_link( $url, $text, $r['format'], $r['before'], $r['after'] ); |
| 1763 |
|
} |
| 1764 |
|
} |
|
@@ 1781-1783 (lines=3) @@
|
| 1778 |
|
$url = add_query_arg( 'post_type', $r['post_type'], $url ); |
| 1779 |
|
} |
| 1780 |
|
$text = sprintf( '%d', $result->year ); |
| 1781 |
|
if ( $r['show_post_count'] ) { |
| 1782 |
|
$r['after'] = ' (' . $result->posts . ')' . $after; |
| 1783 |
|
} |
| 1784 |
|
$output .= get_archives_link( $url, $text, $r['format'], $r['before'], $r['after'] ); |
| 1785 |
|
} |
| 1786 |
|
} |
|
@@ 1804-1806 (lines=3) @@
|
| 1801 |
|
} |
| 1802 |
|
$date = sprintf( '%1$d-%2$02d-%3$02d 00:00:00', $result->year, $result->month, $result->dayofmonth ); |
| 1803 |
|
$text = mysql2date( get_option( 'date_format' ), $date ); |
| 1804 |
|
if ( $r['show_post_count'] ) { |
| 1805 |
|
$r['after'] = ' (' . $result->posts . ')' . $after; |
| 1806 |
|
} |
| 1807 |
|
$output .= get_archives_link( $url, $text, $r['format'], $r['before'], $r['after'] ); |
| 1808 |
|
} |
| 1809 |
|
} |
|
@@ 1834-1836 (lines=3) @@
|
| 1831 |
|
$url = add_query_arg( 'post_type', $r['post_type'], $url ); |
| 1832 |
|
} |
| 1833 |
|
$text = $arc_week_start . $archive_week_separator . $arc_week_end; |
| 1834 |
|
if ( $r['show_post_count'] ) { |
| 1835 |
|
$r['after'] = ' (' . $result->posts . ')' . $after; |
| 1836 |
|
} |
| 1837 |
|
$output .= get_archives_link( $url, $text, $r['format'], $r['before'], $r['after'] ); |
| 1838 |
|
} |
| 1839 |
|
} |