Version Description
- Switched to PHP 5 style constructor method for the widget class
Download this release
Release Info
Developer | MyThemeShop |
Plugin | WP Tab Widget |
Version | 1.2.1 |
Comparing to | |
See all releases |
Code changes from version 1.2 to 1.2.1
- readme.txt +5 -2
- wp-tab-widget.php +2 -2
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: mythemeshop
|
|
3 |
Creator's website link: http://mythemeshop.com/
|
4 |
Tags: tabs, tab widget, recent posts tab, tabs widget, ajax tabs, ajax widget.
|
5 |
Requires at least: 3.0.1
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 1.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -75,6 +75,9 @@ Please disable all plugins and check if shortcode plugin is working properly. Th
|
|
75 |
|
76 |
== Changelog ==
|
77 |
|
|
|
|
|
|
|
78 |
= 1.2 =
|
79 |
* Added Title Length option
|
80 |
* Fixed post view count compatibility with themes
|
3 |
Creator's website link: http://mythemeshop.com/
|
4 |
Tags: tabs, tab widget, recent posts tab, tabs widget, ajax tabs, ajax widget.
|
5 |
Requires at least: 3.0.1
|
6 |
+
Tested up to: 4.3
|
7 |
+
Stable tag: 1.2.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
75 |
|
76 |
== Changelog ==
|
77 |
|
78 |
+
= 1.2.1 =
|
79 |
+
* Switched to PHP 5 style constructor method for the widget class
|
80 |
+
|
81 |
= 1.2 =
|
82 |
* Added Title Length option
|
83 |
* Fixed post view count compatibility with themes
|
wp-tab-widget.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Tab Widget
|
|
4 |
Plugin URI: http://mythemeshop.com/plugins/wp-tab-widget/
|
5 |
Description: WP Tab Widget is the AJAXified plugin which loads content by demand, and thus it makes the plugin incredibly lightweight.
|
6 |
Author: MyThemeShop
|
7 |
-
Version: 1.2
|
8 |
Author URI: http://mythemeshop.com/
|
9 |
*/
|
10 |
|
@@ -24,7 +24,7 @@ class wpt_widget extends WP_Widget {
|
|
24 |
|
25 |
$widget_ops = array('classname' => 'widget_wpt', 'description' => __('Display popular posts, recent posts, comments, and tags in tabbed format.', 'mts_wpt'));
|
26 |
$control_ops = array('width' => 300, 'height' => 350);
|
27 |
-
|
28 |
}
|
29 |
|
30 |
function wpt_init() {
|
4 |
Plugin URI: http://mythemeshop.com/plugins/wp-tab-widget/
|
5 |
Description: WP Tab Widget is the AJAXified plugin which loads content by demand, and thus it makes the plugin incredibly lightweight.
|
6 |
Author: MyThemeShop
|
7 |
+
Version: 1.2.1
|
8 |
Author URI: http://mythemeshop.com/
|
9 |
*/
|
10 |
|
24 |
|
25 |
$widget_ops = array('classname' => 'widget_wpt', 'description' => __('Display popular posts, recent posts, comments, and tags in tabbed format.', 'mts_wpt'));
|
26 |
$control_ops = array('width' => 300, 'height' => 350);
|
27 |
+
parent::__construct('wpt_widget', __('WP Tab Widget by MyThemeShop', 'mts_wpt'), $widget_ops, $control_ops);
|
28 |
}
|
29 |
|
30 |
function wpt_init() {
|