Changeset 1556510
- Timestamp:
- 12/17/2016 01:56:50 AM (9 years ago)
- Location:
- allprowebtools-leadboxes/trunk
- Files:
-
- 3 edited
-
allprowebtools.php (modified) (3 diffs)
-
includes/apwt.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
allprowebtools-leadboxes/trunk/allprowebtools.php
r1555815 r1556510 6 6 Author: AllProWebTools 7 7 Author URI: http://www.AllProWebTools.com 8 Version: 1.0. 88 Version: 1.0.9 9 9 License: GPLv2 10 10 */ … … 15 15 add_action('admin_menu','APWT_admin_menu'); 16 16 17 add_action( 'widgets_init', function(){ 18 register_widget( 'APWTLeadBox' ); 19 }); 17 add_action( 'widgets_init', 'APWTLeadBoxInit'); 20 18 21 19 if ( (!get_site_option("APWTAPIKEY")) || (!get_site_option("APWTAPIAUTH")) ) { … … 27 25 register_activation_hook(__FILE__,'APWTLeadBoxActivate'); 28 26 register_deactivation_hook( __FILE__, 'APWTLeadBoxDeactivate' ); 27 28 function APWTLeadBoxInit() { 29 register_widget( 'APWTLeadBox' ); 30 } 29 31 30 32 function APWT_plugin_get_version() { -
allprowebtools-leadboxes/trunk/includes/apwt.php
r1555815 r1556510 107 107 class APWTLeadBox extends WP_Widget { 108 108 public function __construct() { 109 add_action( 'wp_ajax_nopriv_APWTLeadBox', [&$this,'submit']);110 add_action( 'wp_ajax_APWTLeadBox', [&$this,'submit']);109 add_action( 'wp_ajax_nopriv_APWTLeadBox', array(&$this,'submit')); 110 add_action( 'wp_ajax_APWTLeadBox', array(&$this,'submit')); 111 111 112 112 $widget_ops = array( -
allprowebtools-leadboxes/trunk/readme.txt
r1555815 r1556510 4 4 Requires at least: 3.4 5 5 Tested up to: 4.7 6 Stable tag: 1.0. 86 Stable tag: 1.0.9 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 91 91 == Changelog == 92 92 93 = 1.0. 1- 11/25/16 =93 = 1.0.8 - 11/25/16 = 94 94 1. Created standalone Lead box plugin 95 95 96 = 1.0.9 - 12/16/16 = 97 1. Patched for better compatability with WP 4.7 and certain PHP versions
Note: See TracChangeset
for help on using the changeset viewer.