Plugin Directory

Changeset 1233083


Ignore:
Timestamp:
08/28/2015 12:55:22 PM (11 years ago)
Author:
misharnet
Message:

Changed WP_Widget that is deprecated since version 4.3.0 to construct.

Location:
ns-author-widget/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ns-author-widget/trunk/Readme.txt

    r1185073 r1233083  
    33Tags: author widget, author box, netscripter, wordpress, widget, plugin,
    44Requires at least: 3.0
    5 Tested up to: 4.2.2
     5Tested up to: 4.3.0
    66Stable tag: trunk
    77License: GPLv3
     
    5555== Changelog ==
    5656
     57= 1.3 =
     58* Changed WP_Widget that is deprecated since version 4.3.0, to __construct.
     59
    5760= 1.2 =
    5861* A change of style and some css class names so there could not be any conflict and overrides with Font Awesome styles already added in themes.
    5962
    6063= 1.1 =
     64* 1.3
    6165* 1.2
    6266* 1.1
     
    6468== Upgrade Notice ==
    6569
     70= 1.3 =
     71This version makes NS Author Widget compatibile with 4.3.0 release and remove  WP_Widget is deprecated since version 4.3.0! Use __construct() Notice. Upgrade immediately.
     72
    6673= 1.2 =
    6774This version fixes potential css style conflicts and overrides.  Upgrade immediately.
  • ns-author-widget/trunk/ns-author-widget.php

    r1185073 r1233083  
    2828class ns_aw_info extends WP_Widget {
    2929function ns_aw_info () {
    30         $this->WP_Widget('ns_aw_info', 'NS Author Widget','Select the category to display');    }
     30        parent::__construct('ns_aw_info', 'NS Author Widget','Select the category to display'); }
    3131
    3232public function form( $instance ) {
Note: See TracChangeset for help on using the changeset viewer.