WordPress.org

Plugin Directory

Changeset 1396344


Ignore:
Timestamp:
04/15/16 10:17:26 (18 months ago)
Author:
bitacre
Message:

Fixed deprecated method call.

Location:
custom-meta-widget
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • custom-meta-widget/tags/1.4.8/customMeta.php

    r1319432 r1396344  
    33Plugin URI: http://shinraholdings.com/plugins/custom-meta-widget/ 
    44Description: 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 
     5Version: 1.4.8 
    66Author: bitacre 
    77Author URI: http://shinraholdings.com/ 
     
    2222/** 
    2323 * CONSTRUCTOR 
    24  */ 
    25 function customMetaWidget() {    
     24 * 
     25 * Thank you to dsmiller for fixing the deprecated constructor 
     26 * https://wordpress.org/support/topic/updated-constructor?replies=4#post-8147479  
     27 */ 
     28function __construct() { 
    2629    // set widget options 
    2730    $widget_ops = array (  
    2831        'classname' => 'customMetaWidget', 
    2932        'description' => __( 'Hide the individual log in/out, admin, feed and WordPress links', 'customMetaWidget' ) 
    30     );  
    31      
     33    ); 
     34 
    3235    // extend widget 
    33     $this->WP_Widget( 'customMetaWidget', 'Custom Meta', $widget_ops ); 
     36    parent::__construct( 'customMetaWidget', __('Custom Meta', 'customMetaWidget'), $widget_ops ); 
    3437} 
    3538 
  • custom-meta-widget/tags/1.4.8/readme.txt

    r1319432 r1396344  
    55Tags: meta,hide,link,admin,simple,widget,default,wordpress.org,change,rss,remove,login 
    66Requires at least: 2.8 
    7 Tested up to: 4.4 
    8 Stable tag: 1.4.7 
     7Tested up to: 4.5 
     8Stable tag: 1.4.8 
    99 
    1010Clone of the standard Meta widget plus options to hide log in/out, admin, feed and WordPress.org/custom links. 
     
    4949 
    5050== 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 
    5155= 1.4.7 = 
    5256* Purely cosmetic update for WordPress 4.4 
     
    129133 
    130134== Upgrade Notice == 
     135= 1.4.8 = 
     136* Replaces deprecated function throwing debug error message 
     137 
    131138= 1.4.7 = 
    132139* Purely cosmetic update for WordPress 4.4 
  • custom-meta-widget/trunk/customMeta.php

    r1319432 r1396344  
    33Plugin URI: http://shinraholdings.com/plugins/custom-meta-widget/ 
    44Description: 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 
     5Version: 1.4.8 
    66Author: bitacre 
    77Author URI: http://shinraholdings.com/ 
     
    2222/** 
    2323 * CONSTRUCTOR 
    24  */ 
    25 function customMetaWidget() {    
     24 * 
     25 * Thank you to dsmiller for fixing the deprecated constructor 
     26 * https://wordpress.org/support/topic/updated-constructor?replies=4#post-8147479  
     27 */ 
     28function __construct() { 
    2629    // set widget options 
    2730    $widget_ops = array (  
    2831        'classname' => 'customMetaWidget', 
    2932        'description' => __( 'Hide the individual log in/out, admin, feed and WordPress links', 'customMetaWidget' ) 
    30     );  
    31      
     33    ); 
     34 
    3235    // extend widget 
    33     $this->WP_Widget( 'customMetaWidget', 'Custom Meta', $widget_ops ); 
     36    parent::__construct( 'customMetaWidget', __('Custom Meta', 'customMetaWidget'), $widget_ops ); 
    3437} 
    3538 
  • custom-meta-widget/trunk/readme.txt

    r1319432 r1396344  
    55Tags: meta,hide,link,admin,simple,widget,default,wordpress.org,change,rss,remove,login 
    66Requires at least: 2.8 
    7 Tested up to: 4.4 
    8 Stable tag: 1.4.7 
     7Tested up to: 4.5 
     8Stable tag: 1.4.8 
    99 
    1010Clone of the standard Meta widget plus options to hide log in/out, admin, feed and WordPress.org/custom links. 
     
    4949 
    5050== 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 
    5155= 1.4.7 = 
    5256* Purely cosmetic update for WordPress 4.4 
     
    129133 
    130134== Upgrade Notice == 
     135= 1.4.8 = 
     136* Replaces deprecated function throwing debug error message 
     137 
    131138= 1.4.7 = 
    132139* Purely cosmetic update for WordPress 4.4 
Note: See TracChangeset for help on using the changeset viewer.