Version Description
- Removes deprecated constructor call for WP_Widget, action hook fix.
Download this release
Release Info
| Developer | mattyza |
| Plugin | |
| Version | 1.4.4 |
| Comparing to | |
| See all releases | |
Code changes from version 1.4.3 to 1.4.4
- assets/css/admin.css +0 -0
- assets/css/admin.less +3 -3
- assets/images/features-icon.png +0 -0
- assets/images/features-icon@x2.png +0 -0
- classes/class-woothemes-features-taxonomy.php +0 -0
- classes/class-woothemes-features.php +2 -2
- classes/class-woothemes-widget-features.php +3 -2
- lang/woothemes-features-en_GB.po +0 -0
- lang/woothemes-features-xx_XX.pot +0 -0
- readme.txt +10 -2
- woothemes-features-template.php +0 -0
- woothemes-features.php +3 -2
assets/css/admin.css
CHANGED
|
File without changes
|
assets/css/admin.less
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
// Features icon
|
| 2 |
-
#adminmenu .menu-icon-feature div.wp-menu-image:before {
|
| 3 |
-
content: '\f155';
|
| 4 |
}
|
| 1 |
+
// Features icon
|
| 2 |
+
#adminmenu .menu-icon-feature div.wp-menu-image:before {
|
| 3 |
+
content: '\f155';
|
| 4 |
}
|
assets/images/features-icon.png
CHANGED
|
File without changes
|
assets/images/features-icon@x2.png
CHANGED
|
File without changes
|
classes/class-woothemes-features-taxonomy.php
CHANGED
|
File without changes
|
classes/class-woothemes-features.php
CHANGED
|
@@ -60,7 +60,7 @@ class Woothemes_Features {
|
|
| 60 |
}
|
| 61 |
|
| 62 |
add_action( 'after_setup_theme', array( $this, 'ensure_post_thumbnails_support' ) );
|
| 63 |
-
add_action( '
|
| 64 |
} // End __construct()
|
| 65 |
|
| 66 |
/**
|
|
@@ -551,4 +551,4 @@ class Woothemes_Features {
|
|
| 551 |
public function ensure_post_thumbnails_support () {
|
| 552 |
if ( ! current_theme_supports( 'post-thumbnails' ) ) { add_theme_support( 'post-thumbnails' ); }
|
| 553 |
} // End ensure_post_thumbnails_support()
|
| 554 |
-
} // End Class
|
| 60 |
}
|
| 61 |
|
| 62 |
add_action( 'after_setup_theme', array( $this, 'ensure_post_thumbnails_support' ) );
|
| 63 |
+
add_action( 'after_setup_theme', array( $this, 'register_image_sizes' ) );
|
| 64 |
} // End __construct()
|
| 65 |
|
| 66 |
/**
|
| 551 |
public function ensure_post_thumbnails_support () {
|
| 552 |
if ( ! current_theme_supports( 'post-thumbnails' ) ) { add_theme_support( 'post-thumbnails' ); }
|
| 553 |
} // End ensure_post_thumbnails_support()
|
| 554 |
+
} // End Class
|
classes/class-woothemes-widget-features.php
CHANGED
|
@@ -57,7 +57,8 @@ class Woothemes_Widget_Features extends WP_Widget {
|
|
| 57 |
);
|
| 58 |
|
| 59 |
/* Create the widget. */
|
| 60 |
-
|
|
|
|
| 61 |
} // End __construct()
|
| 62 |
|
| 63 |
/**
|
|
@@ -293,4 +294,4 @@ class Woothemes_Widget_Features extends WP_Widget {
|
|
| 293 |
} // End Class
|
| 294 |
|
| 295 |
/* Register the widget. */
|
| 296 |
-
add_action( 'widgets_init', create_function( '', 'return register_widget("WooThemes_Widget_Features");' ), 1 );
|
| 57 |
);
|
| 58 |
|
| 59 |
/* Create the widget. */
|
| 60 |
+
parent::__construct( $this->woothemes_widget_idbase, $this->woothemes_widget_title, $widget_ops, $control_ops );
|
| 61 |
+
|
| 62 |
} // End __construct()
|
| 63 |
|
| 64 |
/**
|
| 294 |
} // End Class
|
| 295 |
|
| 296 |
/* Register the widget. */
|
| 297 |
+
add_action( 'widgets_init', create_function( '', 'return register_widget("WooThemes_Widget_Features");' ), 1 );
|
lang/woothemes-features-en_GB.po
CHANGED
|
File without changes
|
lang/woothemes-features-xx_XX.pot
CHANGED
|
File without changes
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Donate link: http://woothemes.com/
|
|
| 4 |
Tags: features, widget, shortcode, template-tag, services
|
| 5 |
Requires at least: 3.4.2
|
| 6 |
Tested up to: 4.0
|
| 7 |
-
Stable tag: 1.4.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -109,6 +109,9 @@ You sure can, just use the following snippet:
|
|
| 109 |
|
| 110 |
== Upgrade Notice ==
|
| 111 |
|
|
|
|
|
|
|
|
|
|
| 112 |
= 1.4.0 =
|
| 113 |
* WordPress 3.8 support (3.8 is now the minimum required version).
|
| 114 |
* Adds the ability to link only features with a custom URL set.
|
|
@@ -142,6 +145,11 @@ You sure can, just use the following snippet:
|
|
| 142 |
|
| 143 |
== Changelog ==
|
| 144 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 145 |
= 1.4.3 =
|
| 146 |
* 2014.08.18
|
| 147 |
* Tweak - Made post type args filterable (props lkraav).
|
|
@@ -209,4 +217,4 @@ You sure can, just use the following snippet:
|
|
| 209 |
|
| 210 |
= 1.0.0 =
|
| 211 |
* 2012-10-23
|
| 212 |
-
* Initial release. Woo!
|
| 4 |
Tags: features, widget, shortcode, template-tag, services
|
| 5 |
Requires at least: 3.4.2
|
| 6 |
Tested up to: 4.0
|
| 7 |
+
Stable tag: 1.4.4
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 109 |
|
| 110 |
== Upgrade Notice ==
|
| 111 |
|
| 112 |
+
= 1.4.4 =
|
| 113 |
+
* Removes deprecated constructor call for WP_Widget, action hook fix.
|
| 114 |
+
|
| 115 |
= 1.4.0 =
|
| 116 |
* WordPress 3.8 support (3.8 is now the minimum required version).
|
| 117 |
* Adds the ability to link only features with a custom URL set.
|
| 145 |
|
| 146 |
== Changelog ==
|
| 147 |
|
| 148 |
+
= 1.4.4 =
|
| 149 |
+
* 2015.07.06
|
| 150 |
+
* Fix - Action hook typo (props helgatheviking).
|
| 151 |
+
* Removes deprecated constructor call for WP_Widget
|
| 152 |
+
|
| 153 |
= 1.4.3 =
|
| 154 |
* 2014.08.18
|
| 155 |
* Tweak - Made post type args filterable (props lkraav).
|
| 217 |
|
| 218 |
= 1.0.0 =
|
| 219 |
* 2012-10-23
|
| 220 |
+
* Initial release. Woo!
|
woothemes-features-template.php
CHANGED
|
File without changes
|
woothemes-features.php
CHANGED
|
@@ -4,8 +4,9 @@
|
|
| 4 |
* Plugin URI: http://woothemes.com/
|
| 5 |
* Description: Hi, I'm your feature showcase plugin for WordPress. Show off what features your company, product or service offers, using our shortcode, widget or template tag.
|
| 6 |
* Author: WooThemes
|
| 7 |
-
* Version: 1.4.
|
| 8 |
* Author URI: http://woothemes.com/
|
|
|
|
| 9 |
*
|
| 10 |
* @package WordPress
|
| 11 |
* @subpackage Woothemes_Features
|
|
@@ -19,4 +20,4 @@ require_once( 'woothemes-features-template.php' );
|
|
| 19 |
require_once( 'classes/class-woothemes-widget-features.php' );
|
| 20 |
global $woothemes_features;
|
| 21 |
$woothemes_features = new Woothemes_Features( __FILE__ );
|
| 22 |
-
$woothemes_features->version = '1.4.
|
| 4 |
* Plugin URI: http://woothemes.com/
|
| 5 |
* Description: Hi, I'm your feature showcase plugin for WordPress. Show off what features your company, product or service offers, using our shortcode, widget or template tag.
|
| 6 |
* Author: WooThemes
|
| 7 |
+
* Version: 1.4.4
|
| 8 |
* Author URI: http://woothemes.com/
|
| 9 |
+
* Text Domain: features-by-woothemes
|
| 10 |
*
|
| 11 |
* @package WordPress
|
| 12 |
* @subpackage Woothemes_Features
|
| 20 |
require_once( 'classes/class-woothemes-widget-features.php' );
|
| 21 |
global $woothemes_features;
|
| 22 |
$woothemes_features = new Woothemes_Features( __FILE__ );
|
| 23 |
+
$woothemes_features->version = '1.4.4';
|
