Changeset 1195543 for php-code-widget
- Timestamp:
- 07/09/2015 04:15:48 PM (11 years ago)
- Location:
- php-code-widget
- Files:
-
- 4 added
- 2 edited
-
tags/2.3 (added)
-
tags/2.3/execphp.php (added)
-
tags/2.3/php-code-widget.pot (added)
-
tags/2.3/readme.txt (added)
-
trunk/execphp.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
php-code-widget/trunk/execphp.php
r1003528 r1195543 5 5 Description: Like the Text widget, but it will take PHP code as well. Heavily derived from the Text widget code in WordPress. 6 6 Author: Otto 7 Version: 2. 27 Version: 2.3 8 8 Text Domain: php-code-widget 9 9 Author URI: http://ottodestruct.com … … 15 15 $widget_ops = array('classname' => 'widget_execphp', 'description' => __('Arbitrary text, HTML, or PHP Code', 'php-code-widget')); 16 16 $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); 18 18 } 19 19 -
php-code-widget/trunk/readme.txt
r992099 r1195543 4 4 Tags: php, widget, execphp 5 5 Requires at least: 2.8 6 Tested up to: 4. 07 Stable tag: 2. 26 Tested up to: 4.3 7 Stable tag: 2.3 8 8 License: GPLv2 9 9 License URI: http://www.opensource.org/licenses/GPL-2.0 … … 46 46 == Changelog == 47 47 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 48 51 = 2.2 = 49 52 * Translation fixes for WP 3.7
Note: See TracChangeset
for help on using the changeset viewer.