Changeset 1095051
- Timestamp:
- 02/20/2015 10:48:33 AM (11 years ago)
- Location:
- wpcustom-category-image/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (2 diffs)
-
WPCustomCategoryImage.php (modified) (2 diffs)
-
load.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpcustom-category-image/trunk/README.txt
r1041678 r1095051 3 3 Requires at least: 3.5 4 4 Tested up to: 3.6 beta 3 5 Stable tag: 1.1. 05 Stable tag: 1.1.2 6 6 7 7 The WPCustom Category Image plugin allow users to upload their very own custom category image … … 43 43 == Changelog == 44 44 45 v1.1.2 Bug fixes; Thanks: Thiago Otaviani; 45 46 v1.1.0 Bug fixes; Display current image (admin); 46 47 v1.0.1 Bug fixes -
wpcustom-category-image/trunk/WPCustomCategoryImage.php
r1041674 r1095051 8 8 protected $taxonomies; 9 9 10 public static function install(){10 public static function activate(){ 11 11 12 12 if( ! ( WP_VERSION >= WP_MIN_VERSION ) ) … … 198 198 199 199 200 if( $this->has_image($taxonomy->term_id) )200 if( isset($taxonomy->term_id) && $this->has_image($taxonomy->term_id) ) 201 201 { 202 202 -
wpcustom-category-image/trunk/load.php
r1041674 r1095051 4 4 * Plugin URI: http://eduardostuart.com.br/ 5 5 * Description: "Customization is a good thing." The Category Image plugin allow users to upload their very own custom category (taxonomy) image to obtain a much more personalized look and feel. 6 * Version: 1.1. 06 * Version: 1.1.2 7 7 * Author: Eduardo Stuart 8 8 * Author URI: http://eduardostuart.com.br … … 28 28 require_once 'WPCustomCategoryImage.php'; 29 29 30 add_action( 'init' , function() 31 { 32 WPCustomCategoryImage::initialize(); 33 }); 30 add_action( 'init' , array('WPCustomCategoryImage','initialize') ); 34 31 35 36 register_activation_hook( __FILE__ , array('WPCustomCategoryImage','install') ); 32 register_activation_hook( __FILE__ , array('WPCustomCategoryImage','activate') );
Note: See TracChangeset
for help on using the changeset viewer.