Changeset 1945552
- Timestamp:
- 09/23/2018 12:17:38 PM (8 years ago)
- Location:
- advanced-text-widget/trunk
- Files:
-
- 3 edited
-
advancedtext.php (modified) (2 diffs)
-
options/options.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
advanced-text-widget/trunk/advancedtext.php
r1742557 r1945552 1 1 <?php 2 2 /* 3 Plugin Name: Advanced Text Widget PRO3 Plugin Name: Advanced Text Widget 4 4 Plugin URI: http://simplerealtytheme.com/plugins/atw-pro/ 5 5 Description: Text widget that has extensive conditional options to display content on pages, posts, specific categories etc. It supports regular HTML as well as PHP code. Conditional visibility can be applied to other widgets of the site as well. 6 6 Author: Max Chirkov 7 Version: 2.1. 17 Version: 2.1.2 8 8 Author URI: http://simplerealtytheme.com 9 9 */ … … 119 119 120 120 // Tell Dynamic Sidebar about our new widget and its control 121 add_action('widgets_init', create_function('', 'return register_widget("advanced_text");'));121 add_action('widgets_init', 'atw_register_widget'); 122 122 add_action('widgets_init', 'advanced_text_do_shortcode'); 123 124 function atw_register_widget(){ 125 register_widget("advanced_text"); 126 } 123 127 124 128 function atw_admin_scripts(){ -
advanced-text-widget/trunk/options/options.php
r971860 r1945552 190 190 191 191 192 function validate_input($input){ 192 function validate_input($input){ 193 193 foreach($input['condition'] as $k => $v){ 194 194 195 195 if(empty($v['name']) && empty($v['code'])) 196 196 unset($input['condition'][$k]); 197 197 198 198 } 199 199 return $input; -
advanced-text-widget/trunk/readme.txt
r1742557 r1945552 4 4 Tags: text, php, plugin, widget, sidebar, conditions 5 5 Requires at least: 2.8 6 Tested up to: 4. 8.27 Stable tag: 2.1. 16 Tested up to: 4.9.8 7 Stable tag: 2.1.2 8 8 9 9 Text widget with raw PHP support and conditional visibility settings. Flexible conditional options with ability to edit and add custom conditions. … … 52 52 == Changelog == 53 53 54 = 2.1.2 = 55 - Fixes use of a deprecated function in PHP 7.2. 56 54 57 = 2.1.1 = 55 58 - Fixes a fatal error.
Note: See TracChangeset
for help on using the changeset viewer.