Changeset 1536667
- Timestamp:
- 11/19/2016 01:24:54 AM (9 years ago)
- Location:
- category-archives/trunk
- Files:
-
- 2 edited
-
class.category-archives-model.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
category-archives/trunk/class.category-archives-model.php
r1402576 r1536667 19 19 public function get_archives( array $args ) { 20 20 global $wpdb; 21 global $wp_locale;22 21 23 22 // Get category id. … … 92 91 foreach ( (array) $results as $result ) { 93 92 $url = $this->get_month_link( $result->year, $result->month, $cat_id ); 94 $date = sprintf( '%d-%s', $result->year, $ wp_locale->get_month( $result->month ));93 $date = sprintf( '%d-%s', $result->year, $result->month ); 95 94 $text = mysql2date( $format, $date ); 96 95 $after = ''; -
category-archives/trunk/readme.txt
r1402576 r1536667 5 5 Requires at least: 4.5 6 6 Tested up to: 4.5 7 Stable tag: 0.0. 17 Stable tag: 0.0.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 37 37 == Changelog == 38 38 39 = 0.0.2 = 40 41 Fix link text. 42 39 43 = 0.0.1 = 40 44
Note: See TracChangeset
for help on using the changeset viewer.