@@ 1726-1728 (lines=3) @@ | ||
1723 | } |
|
1724 | /* translators: 1: month name, 2: 4-digit year */ |
|
1725 | $text = sprintf( __( '%1$s %2$d' ), $wp_locale->get_month( $result->month ), $result->year ); |
|
1726 | if ( $r['show_post_count'] ) { |
|
1727 | $r['after'] = ' (' . $result->posts . ')' . $after; |
|
1728 | } |
|
1729 | $output .= get_archives_link( $url, $text, $r['format'], $r['before'], $r['after'] ); |
|
1730 | } |
|
1731 | } |
|
@@ 1748-1750 (lines=3) @@ | ||
1745 | $url = add_query_arg( 'post_type', $r['post_type'], $url ); |
|
1746 | } |
|
1747 | $text = sprintf( '%d', $result->year ); |
|
1748 | if ( $r['show_post_count'] ) { |
|
1749 | $r['after'] = ' (' . $result->posts . ')' . $after; |
|
1750 | } |
|
1751 | $output .= get_archives_link( $url, $text, $r['format'], $r['before'], $r['after'] ); |
|
1752 | } |
|
1753 | } |
|
@@ 1771-1773 (lines=3) @@ | ||
1768 | } |
|
1769 | $date = sprintf( '%1$d-%2$02d-%3$02d 00:00:00', $result->year, $result->month, $result->dayofmonth ); |
|
1770 | $text = mysql2date( get_option( 'date_format' ), $date ); |
|
1771 | if ( $r['show_post_count'] ) { |
|
1772 | $r['after'] = ' (' . $result->posts . ')' . $after; |
|
1773 | } |
|
1774 | $output .= get_archives_link( $url, $text, $r['format'], $r['before'], $r['after'] ); |
|
1775 | } |
|
1776 | } |
|
@@ 1801-1803 (lines=3) @@ | ||
1798 | $url = add_query_arg( 'post_type', $r['post_type'], $url ); |
|
1799 | } |
|
1800 | $text = $arc_week_start . $archive_week_separator . $arc_week_end; |
|
1801 | if ( $r['show_post_count'] ) { |
|
1802 | $r['after'] = ' (' . $result->posts . ')' . $after; |
|
1803 | } |
|
1804 | $output .= get_archives_link( $url, $text, $r['format'], $r['before'], $r['after'] ); |
|
1805 | } |
|
1806 | } |