Plugin Directory

Changeset 1195543 for php-code-widget


Ignore:
Timestamp:
07/09/2015 04:15:48 PM (11 years ago)
Author:
Otto42
Message:

Release 2.3

Location:
php-code-widget
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • php-code-widget/trunk/execphp.php

    r1003528 r1195543  
    55Description: Like the Text widget, but it will take PHP code as well. Heavily derived from the Text widget code in WordPress.
    66Author: Otto
    7 Version: 2.2
     7Version: 2.3
    88Text Domain: php-code-widget
    99Author URI: http://ottodestruct.com
     
    1515        $widget_ops = array('classname' => 'widget_execphp', 'description' => __('Arbitrary text, HTML, or PHP Code', 'php-code-widget'));
    1616        $control_ops = array('width' => 400, 'height' => 350);
    17         $this->WP_Widget('execphp', __('PHP Code', 'php-code-widget'), $widget_ops, $control_ops);
     17        $this->__construct('execphp', __('PHP Code', 'php-code-widget'), $widget_ops, $control_ops);
    1818    }
    1919
  • php-code-widget/trunk/readme.txt

    r992099 r1195543  
    44Tags: php, widget, execphp
    55Requires at least: 2.8
    6 Tested up to: 4.0
    7 Stable tag: 2.2
     6Tested up to: 4.3
     7Stable tag: 2.3
    88License: GPLv2
    99License URI: http://www.opensource.org/licenses/GPL-2.0
     
    4646== Changelog ==
    4747
     48= 2.3 =
     49* Changed the call to WP_Widget to use the PHP 5 __construct() method. Ref: https://make.wordpress.org/core/2015/07/02/deprecating-php4-style-constructors-in-wordpress-4-3/
     50
    4851= 2.2 =
    4952* Translation fixes for WP 3.7
Note: See TracChangeset for help on using the changeset viewer.