Changeset 1432867
- Timestamp:
- 06/08/2016 06:30:47 AM (10 years ago)
- Location:
- small-archives/tags/1.1
- Files:
-
- 2 edited
- 1 copied
-
. (copied) (copied from small-archives/trunk) (1 prop)
-
readme.txt (modified) (3 diffs)
-
small-archives.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
small-archives/tags/1.1
-
Property
svn:ignore
set to
[Rr][Ee][Aa][Dd][Mm][Ee].[Mm][Dd]
.git
HISTORY.md
assets-wp-repo
.gitignore
-
Property
svn:ignore
set to
-
small-archives/tags/1.1/readme.txt
r1316311 r1432867 3 3 Tags: archive, archives, widget 4 4 Requires at least: 3.0 5 Tested up to: 4. 46 Stable tag: 1. 05 Tested up to: 4.5 6 Stable tag: 1.1 7 7 License: GPLv2 or later 8 8 … … 14 14 15 15 = [before] = 16 Dec. 2013 17 Nov. 2013 18 Oct. 2013 19 Sep. 2013 16 Dec. 2013 17 Nov. 2013 18 Oct. 2013 19 Sep. 2013 20 20 ... 21 21 22 22 = [after] = 23 2013 24 1 2 3 4 5 6 7 8 9 10 11 12 25 2012 26 1 2 3 4 5 6 7 8 9 10 11 12 23 2013 24 1 2 3 4 5 6 7 8 9 10 11 12 25 2012 26 1 2 3 4 5 6 7 8 9 10 11 12 27 27 ... 28 28 … … 40 40 41 41 == Changelog == 42 = 1.1 = 43 * 2016.6: fix notice error 44 42 45 = 1.0 = 43 46 * 2014.1: first version. -
small-archives/tags/1.1/small-archives.php
r836950 r1432867 3 3 Plugin Name: Small Archives 4 4 Description: monthly archive widget, display smaller list in the sidebar. 5 Version: 1. 05 Version: 1.1 6 6 Plugin URI: https://github.com/matsuoshi/wp-small-archives 7 7 Author: h.matsuo … … 40 40 { 41 41 extract($args); 42 /** @var string $before_widget */ 43 /** @var string $before_title */ 44 /** @var string $after_title */ 45 /** @var string $after_widget */ 42 46 43 47 echo $before_widget; … … 46 50 echo $before_title . apply_filters('widget_title', $title) . $after_title; 47 51 48 $archives = $this->getArchives( $instance);52 $archives = $this->getArchives(); 49 53 if ($archives) { 50 54 if (! empty($instance['reverseYearOrder'])) { … … 67 71 68 72 $month_after = ($instance['showPostCount']) ? "<span>({$count})</span>" : ''; 69 $month_link = get_archives_link(get_month_link($year, $month), $month, $format, $before, $month_after . $after);73 $month_link = get_archives_link(get_month_link($year, $month), $month, '', '', $month_after); 70 74 ?> 71 75 <li><?php echo $month_link ?></li> … … 84 88 /** 85 89 * call query 86 * @param $instance87 90 * @return array 88 91 */ 89 function getArchives( $instance)92 function getArchives() 90 93 { 91 94 global $wpdb;
Note: See TracChangeset
for help on using the changeset viewer.