Changeset 1482970
- Timestamp:
- 08/24/2016 11:59:35 PM (10 years ago)
- Location:
- custom-tag-cloud/tags/1.0.0
- Files:
-
- 3 edited
-
helpers/widget.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
-
tagcloud.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
custom-tag-cloud/tags/1.0.0/helpers/widget.php
r1443736 r1482970 13 13 { 14 14 protected $params; 15 p ublic$label;16 p ublic$basedir;17 p ublic$basename;15 protected $label; 16 protected $basedir; 17 protected $basename; 18 18 19 19 public function __construct() … … 21 21 global $tagcloud; 22 22 23 $this->label = $tagcloud-> label;24 $this->basedir = $tagcloud-> basedir;25 $this->basename = $tagcloud-> basename;23 $this->label = $tagcloud->get('label'); 24 $this->basedir = $tagcloud->get('basedir'); 25 $this->basename = $tagcloud->get('basename'); 26 26 27 27 parent::__construct($this->label, __('Custom Tag Cloud', $this->label), array('description' => __('Displays customized tag cloud.', $this->label))); -
custom-tag-cloud/tags/1.0.0/readme.txt
r1443736 r1482970 5 5 Tags: shortcode, tags, tag, cloud, tag cloud 6 6 Requires at least: 4.0 7 Tested up to: 4. 5.27 Tested up to: 4.6 8 8 Stable tag: 1.0.0 9 9 License: GPLv2 or later -
custom-tag-cloud/tags/1.0.0/tagcloud.php
r1443736 r1482970 16 16 17 17 class CustomTagCloud 18 { 19 p ublic $debug = true;20 p ublic $label = 'tagcloud';21 p ublic $basedir;22 p ublic $basename;23 p ublic $params;18 { 19 protected $label = 'tagcloud'; 20 protected $basedir; 21 protected $basename; 22 protected $params; 23 protected $debug = false; 24 24 25 25 public function __construct() … … 150 150 { 151 151 return isset($this->params[$name]) ? $this->params[$name] : $default; 152 } 152 } 153 154 public function get($variable) 155 { 156 return $this->{$variable}; 157 } 153 158 } 154 159
Note: See TracChangeset
for help on using the changeset viewer.