Changeset 978032
- Timestamp:
- 09/03/2014 05:01:23 PM (12 years ago)
- Location:
- progrids-widgets/trunk
- Files:
-
- 4 edited
-
classes/ProGrids.php (modified) (2 diffs)
-
classes/ProGridsUpgrade.php (modified) (1 diff)
-
functions.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
progrids-widgets/trunk/classes/ProGrids.php
r977256 r978032 27 27 add_filter('the_content', array($this->controller, 'widget')); 28 28 29 add_filter('pre_update_option_progrids_code', array($this, 'preUpdateCodeFilter') );30 add_action('update_option_progrids_code', array($this, 'postUpdateCodeAction') );29 add_filter('pre_update_option_progrids_code', array($this, 'preUpdateCodeFilter'), 10, 2); 30 add_action('update_option_progrids_code', array($this, 'postUpdateCodeAction'), 10, 2); 31 31 } 32 32 … … 69 69 'body' => array( 70 70 'siteurl' => proGrids_site_url(), 71 'widgetId' => $widgetId 71 'widgetId' => $widgetId, 72 'pluginVersion' => proGrids_currentVersion() 72 73 ) 73 74 )); -
progrids-widgets/trunk/classes/ProGridsUpgrade.php
r977256 r978032 15 15 16 16 if (version_compare($version, $currVersion, '<')) { 17 self::upgradeToVersion3(); 17 if (version_compare($version, '3.0.0', '<')) { 18 // only upgrade to version 3 if less then 3 19 self::upgradeToVersion3(); 20 } 18 21 ProGrids::savedVersion($currVersion); 22 23 wp_remote_post(PROGRIDS_BASE_URL.'/widget/wordpress', array( 24 'body' => array( 25 'siteurl' => proGrids_site_url(), 26 'active' => 1, 27 'pluginVersion' => $currVersion 28 ) 29 )); 19 30 } 20 31 } -
progrids-widgets/trunk/functions.php
r977256 r978032 4 4 * Plugin Name: ProGrids Widget Plugin 5 5 * Description: ProGrids.com widget management plugin 6 * Version: 3.0. 06 * Version: 3.0.1 7 7 * Author: Sazze, Inc. 8 8 * Author URI: http://progrids.com/ … … 80 80 'body' => array( 81 81 'siteurl' => proGrids_site_url(), 82 'active' => 0 82 'active' => 0, 83 'pluginVersion' => proGrids_currentVersion() 83 84 ) 84 85 )); -
progrids-widgets/trunk/readme.txt
r977256 r978032 4 4 Requires at least: 3.2 5 5 Tested up to: 4.1.0 6 Stable tag: 3.0. 06 Stable tag: 3.0.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 36 36 37 37 == Changelog == 38 = 3.0.1 = 39 * Fixed PHP Warning 40 38 41 = 3.0.0 = 39 42 * Now user enters installation code, instead of logging in.
Note: See TracChangeset
for help on using the changeset viewer.