Changeset 2702095 for php-code-widget
- Timestamp:
- 03/30/2022 04:53:51 PM (4 years ago)
- Location:
- php-code-widget
- Files:
-
- 4 edited
- 1 copied
-
tags/2.4 (copied) (copied from php-code-widget/trunk)
-
tags/2.4/execphp.php (modified) (2 diffs)
-
tags/2.4/readme.txt (modified) (2 diffs)
-
trunk/execphp.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
php-code-widget/tags/2.4/execphp.php
r1195545 r2702095 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. 37 Version: 2.4 8 8 Text Domain: php-code-widget 9 9 Author URI: http://ottodestruct.com … … 60 60 } 61 61 62 add_action('widgets_init', create_function('', 'return register_widget("PHP_Code_Widget");')); 62 add_action('widgets_init', 'php_code_widget_register'); 63 function php_code_widget_register() { 64 register_widget('PHP_Code_Widget'); 65 } -
php-code-widget/tags/2.4/readme.txt
r2118426 r2702095 4 4 Requires at least: 2.8 5 5 Tested up to: 5.2 6 Stable tag: 2. 36 Stable tag: 2.4 7 7 License: GPLv2 8 8 License URI: http://www.opensource.org/licenses/GPL-2.0 … … 45 45 == Changelog == 46 46 47 = 2.4 = 48 * After much demand, made it stop throwing a warning in PHP 8. Please consider ceasing usage of this widget on modern sites. Switch to block based themes, or use purpose specific plugins to solve your needs instead of storing PHP code in the database. 49 47 50 = 2.3 = 48 51 * 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/ -
php-code-widget/trunk/execphp.php
r1195545 r2702095 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. 37 Version: 2.4 8 8 Text Domain: php-code-widget 9 9 Author URI: http://ottodestruct.com … … 60 60 } 61 61 62 add_action('widgets_init', create_function('', 'return register_widget("PHP_Code_Widget");')); 62 add_action('widgets_init', 'php_code_widget_register'); 63 function php_code_widget_register() { 64 register_widget('PHP_Code_Widget'); 65 } -
php-code-widget/trunk/readme.txt
r2118426 r2702095 4 4 Requires at least: 2.8 5 5 Tested up to: 5.2 6 Stable tag: 2. 36 Stable tag: 2.4 7 7 License: GPLv2 8 8 License URI: http://www.opensource.org/licenses/GPL-2.0 … … 45 45 == Changelog == 46 46 47 = 2.4 = 48 * After much demand, made it stop throwing a warning in PHP 8. Please consider ceasing usage of this widget on modern sites. Switch to block based themes, or use purpose specific plugins to solve your needs instead of storing PHP code in the database. 49 47 50 = 2.3 = 48 51 * 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/
Note: See TracChangeset
for help on using the changeset viewer.