Custom Meta Widget - Version 1.4.8

Version Description

  • Updated deprecated __construct() method
  • Thank you to dsmiller
Download this release

Release Info

Developer bitacre
Plugin Icon wp plugin Custom Meta Widget
Version 1.4.8
Comparing to
See all releases

Code changes from version 1.4.7 to 1.4.8

Files changed (2) hide show
  1. customMeta.php +8 -5
  2. readme.txt +10 -3
customMeta.php CHANGED
@@ -2,7 +2,7 @@
2
  Plugin Name: Custom Meta Widget
3
  Plugin URI: http://shinraholdings.com/plugins/custom-meta-widget/
4
  Description: Clone of the standard Meta widget with options to hide thlogin, admin, entry and comment feed, WordPress.org and /custom links.
5
- Version: 1.4.7
6
  Author: bitacre
7
  Author URI: http://shinraholdings.com/
8
  License: GPLv2
@@ -21,16 +21,19 @@ var $homepage = 'http://shinraholdings.com/plugins/custom-meta-widget/';
21
 
22
  /**
23
  * CONSTRUCTOR
 
 
 
24
  */
25
- function customMetaWidget() {
26
  // set widget options
27
  $widget_ops = array (
28
  'classname' => 'customMetaWidget',
29
  'description' => __( 'Hide the individual log in/out, admin, feed and WordPress links', 'customMetaWidget' )
30
- );
31
-
32
  // extend widget
33
- $this->WP_Widget( 'customMetaWidget', 'Custom Meta', $widget_ops );
34
  }
35
 
36
 
2
  Plugin Name: Custom Meta Widget
3
  Plugin URI: http://shinraholdings.com/plugins/custom-meta-widget/
4
  Description: Clone of the standard Meta widget with options to hide thlogin, admin, entry and comment feed, WordPress.org and /custom links.
5
+ Version: 1.4.8
6
  Author: bitacre
7
  Author URI: http://shinraholdings.com/
8
  License: GPLv2
21
 
22
  /**
23
  * CONSTRUCTOR
24
+ *
25
+ * Thank you to dsmiller for fixing the deprecated constructor
26
+ * https://wordpress.org/support/topic/updated-constructor?replies=4#post-8147479
27
  */
28
+ function __construct() {
29
  // set widget options
30
  $widget_ops = array (
31
  'classname' => 'customMetaWidget',
32
  'description' => __( 'Hide the individual log in/out, admin, feed and WordPress links', 'customMetaWidget' )
33
+ );
34
+
35
  // extend widget
36
+ parent::__construct( 'customMetaWidget', __('Custom Meta', 'customMetaWidget'), $widget_ops );
37
  }
38
 
39
 
readme.txt CHANGED
@@ -4,8 +4,8 @@ Contributors: bitacre
4
  Donate link: http://shinraholdings.com/donate
5
  Tags: meta,hide,link,admin,simple,widget,default,wordpress.org,change,rss,remove,login
6
  Requires at least: 2.8
7
- Tested up to: 4.4
8
- Stable tag: 1.4.7
9
 
10
  Clone of the standard Meta widget plus options to hide log in/out, admin, feed and WordPress.org/custom links.
11
 
@@ -48,6 +48,10 @@ Most people, myself included, are understandably reluctant to donate real curren
48
  3. Comparison of options between the standard and Custom Meta Widget.
49
 
50
  == Changelog ==
 
 
 
 
51
  = 1.4.7 =
52
  * Purely cosmetic update for WordPress 4.4
53
 
@@ -128,8 +132,11 @@ Most people, myself included, are understandably reluctant to donate real curren
128
  * There may still be bugs, but I can't find any.
129
 
130
  == Upgrade Notice ==
 
 
 
131
  = 1.4.7 =
132
- * Purely cosmetic update for WordPress 4.4. Happy New Year.
133
 
134
  = 1.4.6 =
135
  Optional upgrade, new translations pl_PL (Polish), fr_FR (French), sr_RS (Serbian), and nl_NL (Dutch).
4
  Donate link: http://shinraholdings.com/donate
5
  Tags: meta,hide,link,admin,simple,widget,default,wordpress.org,change,rss,remove,login
6
  Requires at least: 2.8
7
+ Tested up to: 4.5
8
+ Stable tag: 1.4.8
9
 
10
  Clone of the standard Meta widget plus options to hide log in/out, admin, feed and WordPress.org/custom links.
11
 
48
  3. Comparison of options between the standard and Custom Meta Widget.
49
 
50
  == Changelog ==
51
+ = 1.4.8 =
52
+ * Updated deprecated __construct() method
53
+ * Thank you to [dsmiller](https://wordpress.org/support/topic/updated-constructor?replies=4#post-8147479)
54
+
55
  = 1.4.7 =
56
  * Purely cosmetic update for WordPress 4.4
57
 
132
  * There may still be bugs, but I can't find any.
133
 
134
  == Upgrade Notice ==
135
+ = 1.4.8 =
136
+ * Replaces deprecated function throwing debug error message
137
+
138
  = 1.4.7 =
139
+ * Purely cosmetic update for WordPress 4.4
140
 
141
  = 1.4.6 =
142
  Optional upgrade, new translations pl_PL (Polish), fr_FR (French), sr_RS (Serbian), and nl_NL (Dutch).