Plugin Directory

Changeset 1508386


Ignore:
Timestamp:
10/04/2016 09:26:28 PM (9 years ago)
Author:
wassereimer
Message:

quick error fix for trunk

Location:
easy-code-placement/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • easy-code-placement/trunk/easy-code-placement.php

    r1506635 r1508386  
    44 * Text Domain: easy-code-placement
    55 * Domain Path: /lang
    6  * Version: 4.0.1
     6 * Version: 4.0.2
    77 * Plugin URI: http://www.randnotizen.org/easy-code-placement/
    88 * Author: Jens Herdy
     
    1212 */
    1313
     14// quick and dirty fix for output buffer error
     15ob_start();
     16
    1417// standards
    1518define('ECP_FILE',__FILE__);
    16 define('ECP_VERSION','4.0.1');
     19define('ECP_VERSION','4.0.2');
    1720
    1821// load functions, classes
  • easy-code-placement/trunk/inc/functions.php

    r1506635 r1508386  
    7373}
    7474
    75 // update to 4.0
     75// update to 4.0.2
    7676function ecp_update(){
    7777    // multiside update
     
    8484            // if not updated yet to 3.2.1 still regenerate missing tables in multisite
    8585            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' ));
    8888        }
    8989    switch_to_blog($blog);
     
    9191        // single update
    9292        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' ));
    9595    }
    9696}
     
    104104        return;
    105105    // check if we use the current version
    106     } elseif ($ecp_options_version === '4.0.1') {
     106    } elseif ($ecp_options_version === '4.0.2') {
    107107        return;
    108108    // if user is admin and we have an old version do the update
  • easy-code-placement/trunk/readme.txt

    r1506635 r1508386  
    55Requires at least: 4.0
    66Tested up to: 4.6.1
    7 Stable tag: 4.0.1
     7Stable tag: 4.0.2
    88License: GPLv3
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    9292== Changelog ==
    9393
     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
    9498= 4.0.1 =
    9599* 01.10.2016
Note: See TracChangeset for help on using the changeset viewer.