Plugin Directory

Changeset 1182615


Ignore:
Timestamp:
06/17/2015 02:48:46 PM (11 years ago)
Author:
oscitas
Message:

4.4.3

  • [Update] Implemented the EBS Session setting to set either you want to use the EBS Session management functionality or not. It will help you in case EBS Session create any issue as few users facing this issue.
Location:
easy-bootstrap-shortcodes
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • easy-bootstrap-shortcodes/tags/4.4/README.txt

    r1168208 r1182615  
    151151
    152152
     153= 4.4.3 =
     154
     155* [Update] Implemented the EBS Session setting to set either you want to use the EBS Session management functionality
     156 or not. It will help you in case EBS Session create any issue as few users facing this issue.
     157
     158
    153159= 4.4.2 =
    154160
  • easy-bootstrap-shortcodes/tags/4.4/ebs_settings.php

    r1168208 r1182615  
    5050            <p><input type="checkbox" name="fa_icon" id="fa_icon" value="1" <?php echo ($fa_icon == 1) ? 'checked=checked' : '' ?>>
    5151                <label for="fa_icon" >Include Font Awesome Icons</label>
     52
     53            </p>
     54        </div>
     55        <div class="ebs_details">
     56
     57            <label class="ebs_setting_label">Use EBS Session functionality</label>
     58            <p><input type="checkbox" name="use_ebs_session_close" id="use_ebs_session_close" value="1" <?php echo ($use_ebs_session_close == 1) ? 'checked=checked' : '' ?>>
     59                <label for="fa_icon" >Use EBS Session Close Functionality</label>
    5260
    5361            </p>
  • easy-bootstrap-shortcodes/tags/4.4/osc_bootstrap_shortcode.php

    r1168208 r1182615  
    55  Plugin URI: http://www.oscitasthemes.com
    66  Description: Add bootstrap 3.0.3 styles to your theme by wordpress editor shortcode buttons.
    7   Version: 4.4.2
     7  Version: 4.4.3
    88  Author: oscitas
    99  Author URI: http://www.oscitasthemes.com
     
    101101            }
    102102            update_option( 'EBS_INCLUDE_FA',1);
     103            update_option( 'EBS_SESSION_CLOSE',0);
    103104            if(get_option('EBS_CUSTOM_CSS')==''){
    104105                update_option( 'EBS_CUSTOM_CSS','');
     
    121122            delete_option('EBS_EDITOR_OPT');
    122123            delete_option('EBS_INCLUDE_FA');
     124            delete_option('EBS_SESSION_CLOSE');
    123125        }
    124126    }
     
    175177            update_option( 'EBS_CUSTOM_CSS', isset($_POST['ebs_custom_css'])?$_POST['ebs_custom_css']:'' );
    176178            update_option( 'EBS_INCLUDE_FA', isset($_POST['fa_icon'])?$_POST['fa_icon']:'' );
     179            update_option( 'EBS_SESSION_CLOSE', isset($_POST['use_ebs_session_close'])
     180                ?$_POST['use_ebs_session_close']:'0' );
    177181            ebs_session_start();
    178182            $_SESSION['ebs_dynamic_css'] =$_POST['ebs_custom_css'];
     
    199203            $shortcode_prefix=get_option('EBS_SHORTCODE_PREFIX','');
    200204            $fa_icon=get_option('EBS_INCLUDE_FA',1);
     205            $use_ebs_session_close=get_option('EBS_SESSION_CLOSE',0);
    201206        }
    202207        include 'ebs_settings.php';
     
    228233        global $pagenow;
    229234        $fa_icon=get_option('EBS_INCLUDE_FA',1);
     235        $use_ebs_session_close=get_option('EBS_SESSION_CLOSE',0);
    230236        $screen = get_current_screen();
    231237        if ($screen->id == 'toplevel_page_ebs/ebs-settings') {
     
    260266    function osc_editor_enable_mce($plugin_array){
    261267        $fa_icon=get_option('EBS_INCLUDE_FA',1);
     268        $use_ebs_session_close=get_option('EBS_SESSION_CLOSE',0);
    262269        wp_enqueue_script('jquery');
    263270        wp_enqueue_style('thickbox');
     
    309316            $css = get_option( 'EBS_BOOTSTRAP_CSS_LOCATION', 1 );
    310317            $fa_icon=get_option('EBS_INCLUDE_FA',1);
     318            $use_ebs_session_close=get_option('EBS_SESSION_CLOSE',0);
    311319//          http://cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.min.js
    312320
     
    386394    function ebs_session_end() {
    387395        global $_EBS_SESSION_STARTED;
    388         if ($_EBS_SESSION_STARTED) {
     396        if ($_EBS_SESSION_STARTED && get_option('EBS_SESSION_CLOSE',0)) {
    389397            @session_write_close();
    390398            $_EBS_SESSION_STARTED = false;
  • easy-bootstrap-shortcodes/trunk/README.txt

    r1168208 r1182615  
    151151
    152152
     153= 4.4.3 =
     154
     155* [Update] Implemented the EBS Session setting to set either you want to use the EBS Session management functionality
     156 or not. It will help you in case EBS Session create any issue as few users facing this issue.
     157
     158
    153159= 4.4.2 =
    154160
  • easy-bootstrap-shortcodes/trunk/ebs_settings.php

    r994547 r1182615  
    5050            <p><input type="checkbox" name="fa_icon" id="fa_icon" value="1" <?php echo ($fa_icon == 1) ? 'checked=checked' : '' ?>>
    5151                <label for="fa_icon" >Include Font Awesome Icons</label>
     52
     53            </p>
     54        </div>
     55        <div class="ebs_details">
     56
     57            <label class="ebs_setting_label">Use EBS Session functionality</label>
     58            <p><input type="checkbox" name="use_ebs_session_close" id="use_ebs_session_close" value="1" <?php echo ($use_ebs_session_close == 1) ? 'checked=checked' : '' ?>>
     59                <label for="fa_icon" >Use EBS Session Close Functionality</label>
    5260
    5361            </p>
  • easy-bootstrap-shortcodes/trunk/osc_bootstrap_shortcode.php

    r1168208 r1182615  
    55  Plugin URI: http://www.oscitasthemes.com
    66  Description: Add bootstrap 3.0.3 styles to your theme by wordpress editor shortcode buttons.
    7   Version: 4.4.2
     7  Version: 4.4.3
    88  Author: oscitas
    99  Author URI: http://www.oscitasthemes.com
     
    101101            }
    102102            update_option( 'EBS_INCLUDE_FA',1);
     103            update_option( 'EBS_SESSION_CLOSE',0);
    103104            if(get_option('EBS_CUSTOM_CSS')==''){
    104105                update_option( 'EBS_CUSTOM_CSS','');
     
    121122            delete_option('EBS_EDITOR_OPT');
    122123            delete_option('EBS_INCLUDE_FA');
     124            delete_option('EBS_SESSION_CLOSE');
    123125        }
    124126    }
     
    175177            update_option( 'EBS_CUSTOM_CSS', isset($_POST['ebs_custom_css'])?$_POST['ebs_custom_css']:'' );
    176178            update_option( 'EBS_INCLUDE_FA', isset($_POST['fa_icon'])?$_POST['fa_icon']:'' );
     179            update_option( 'EBS_SESSION_CLOSE', isset($_POST['use_ebs_session_close'])
     180                ?$_POST['use_ebs_session_close']:'0' );
    177181            ebs_session_start();
    178182            $_SESSION['ebs_dynamic_css'] =$_POST['ebs_custom_css'];
     
    199203            $shortcode_prefix=get_option('EBS_SHORTCODE_PREFIX','');
    200204            $fa_icon=get_option('EBS_INCLUDE_FA',1);
     205            $use_ebs_session_close=get_option('EBS_SESSION_CLOSE',0);
    201206        }
    202207        include 'ebs_settings.php';
     
    228233        global $pagenow;
    229234        $fa_icon=get_option('EBS_INCLUDE_FA',1);
     235        $use_ebs_session_close=get_option('EBS_SESSION_CLOSE',0);
    230236        $screen = get_current_screen();
    231237        if ($screen->id == 'toplevel_page_ebs/ebs-settings') {
     
    260266    function osc_editor_enable_mce($plugin_array){
    261267        $fa_icon=get_option('EBS_INCLUDE_FA',1);
     268        $use_ebs_session_close=get_option('EBS_SESSION_CLOSE',0);
    262269        wp_enqueue_script('jquery');
    263270        wp_enqueue_style('thickbox');
     
    309316            $css = get_option( 'EBS_BOOTSTRAP_CSS_LOCATION', 1 );
    310317            $fa_icon=get_option('EBS_INCLUDE_FA',1);
     318            $use_ebs_session_close=get_option('EBS_SESSION_CLOSE',0);
    311319//          http://cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.min.js
    312320
     
    386394    function ebs_session_end() {
    387395        global $_EBS_SESSION_STARTED;
    388         if ($_EBS_SESSION_STARTED) {
     396        if ($_EBS_SESSION_STARTED && get_option('EBS_SESSION_CLOSE',0)) {
    389397            @session_write_close();
    390398            $_EBS_SESSION_STARTED = false;
Note: See TracChangeset for help on using the changeset viewer.