Changeset 1508386
- Timestamp:
- 10/04/2016 09:26:28 PM (9 years ago)
- Location:
- easy-code-placement/trunk
- Files:
-
- 3 edited
-
easy-code-placement.php (modified) (2 diffs)
-
inc/functions.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
easy-code-placement/trunk/easy-code-placement.php
r1506635 r1508386 4 4 * Text Domain: easy-code-placement 5 5 * Domain Path: /lang 6 * Version: 4.0. 16 * Version: 4.0.2 7 7 * Plugin URI: http://www.randnotizen.org/easy-code-placement/ 8 8 * Author: Jens Herdy … … 12 12 */ 13 13 14 // quick and dirty fix for output buffer error 15 ob_start(); 16 14 17 // standards 15 18 define('ECP_FILE',__FILE__); 16 define('ECP_VERSION','4.0. 1');19 define('ECP_VERSION','4.0.2'); 17 20 18 21 // load functions, classes -
easy-code-placement/trunk/inc/functions.php
r1506635 r1508386 73 73 } 74 74 75 // update to 4.0 75 // update to 4.0.2 76 76 function ecp_update(){ 77 77 // multiside update … … 84 84 // if not updated yet to 3.2.1 still regenerate missing tables in multisite 85 85 ecp_install(); 86 $wpdb->query("UPDATE ".$wpdb->prefix."ecp_data SET version='4.0. 1'");87 $wpdb->update($wpdb->prefix.'ecp_options', array( 'option_value' => '4.0. 1' ), array( 'option_name' => 'version' ));86 $wpdb->query("UPDATE ".$wpdb->prefix."ecp_data SET version='4.0.2'"); 87 $wpdb->update($wpdb->prefix.'ecp_options', array( 'option_value' => '4.0.2' ), array( 'option_name' => 'version' )); 88 88 } 89 89 switch_to_blog($blog); … … 91 91 // single update 92 92 global $wpdb; 93 $wpdb->query("UPDATE ".$wpdb->prefix."ecp_data SET version='4.0. 1'");94 $wpdb->update($wpdb->prefix.'ecp_options', array( 'option_value' => '4.0. 1' ), array( 'option_name' => 'version' ));93 $wpdb->query("UPDATE ".$wpdb->prefix."ecp_data SET version='4.0.2'"); 94 $wpdb->update($wpdb->prefix.'ecp_options', array( 'option_value' => '4.0.2' ), array( 'option_name' => 'version' )); 95 95 } 96 96 } … … 104 104 return; 105 105 // check if we use the current version 106 } elseif ($ecp_options_version === '4.0. 1') {106 } elseif ($ecp_options_version === '4.0.2') { 107 107 return; 108 108 // if user is admin and we have an old version do the update -
easy-code-placement/trunk/readme.txt
r1506635 r1508386 5 5 Requires at least: 4.0 6 6 Tested up to: 4.6.1 7 Stable tag: 4.0. 17 Stable tag: 4.0.2 8 8 License: GPLv3 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 92 92 == Changelog == 93 93 94 = 4.0.2 = 95 * 04.10.2016 96 * Quick and dirty fix for Output Buffer Errors on some Systems. Please Notice that all Functions worked as they should even when the Error came up. 97 94 98 = 4.0.1 = 95 99 * 01.10.2016
Note: See TracChangeset
for help on using the changeset viewer.