Plugin Directory

Changeset 1157671


Ignore:
Timestamp:
05/11/2015 05:09:14 AM (11 years ago)
Author:
oscitas
Message:

4.4.0

  • [Fixes] Session issue patch provided by Vloo.
Location:
easy-bootstrap-shortcodes
Files:
12 edited

Legend:

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

    r1142973 r1157671  
    150150>= Note : we have removed the Line Separator, Dropcaps, Youtube & Vimeo video, Boxesframes, Horizontal Rule, Testimonial, Section Heading, Social, Lead,Page Header, Highlights shortcodes as these are PRO version features, which were committed to free version by mistake. =
    151151
     152= 4.4.0 =
     153
     154* [Fixes] Session issue patch provided by Vloo.
     155
    152156= 4.3.9 =
    153157
  • easy-bootstrap-shortcodes/tags/4.0.0/osc_bootstrap_shortcode.php

    r1142973 r1157671  
    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.3.9
     7  Version: 4.4.0
    88  Author: oscitas
    99  Author URI: http://www.oscitasthemes.com
     
    174174            update_option( 'EBS_CUSTOM_CSS', isset($_POST['ebs_custom_css'])?$_POST['ebs_custom_css']:'' );
    175175            update_option( 'EBS_INCLUDE_FA', isset($_POST['fa_icon'])?$_POST['fa_icon']:'' );
     176            ebs_session_start();
    176177            $_SESSION['ebs_dynamic_css'] =$_POST['ebs_custom_css'];
     178            session_write_close();
    177179            update_option( 'EBS_SHORTCODE_PREFIX', isset($_POST['shortcode_prefix'])?$_POST['shortcode_prefix']:'' );
    178180
     
    286288     */
    287289    function osc_add_dynamic_css(){
     290        ebs_session_start();
    288291        $_SESSION['ebs_dynamic_css'] = get_option('EBS_CUSTOM_CSS','');
     292        session_write_close();
    289293        wp_enqueue_style('ebs_dynamic_css', plugins_url('/styles/ebs_dynamic_css.php', __FILE__));
    290294
  • easy-bootstrap-shortcodes/tags/4.0.0/shortcode/servicebox/plugin_shortcode.php

    r925652 r1157671  
    55 * ********************************************************* */
    66$_ebsp_servicebox=array();
    7 
     7ebs_session_start();
    88$_SESSION['ebs_servicebox_css']=array();
     9session_write_close();
    910function osc_theme_servicebox($params, $content = null) {
    1011    global $_ebsp_servicebox;
     
    8586    ;
    8687    }';
     88    ebs_session_start();
    8789    $_SESSION['ebs_servicebox_css'][]= 'ebs_servicebox_css_id_'.$id;
    8890    $_SESSION['ebs_servicebox_css_id_'.$id]=$style;
     91    session_write_close();
    8992    wp_enqueue_style('ebs-dstyle',EBS_PLUGIN_URL.'styles/ebs-dstyle.php');
    9093    return $out;
  • easy-bootstrap-shortcodes/tags/4.0.0/shortcode/slider/plugin_shortcode.php

    r925652 r1157671  
    1313        $_oscitas_slider = array('current_id'=>0);
    1414    }
    15     if(!session_id()){
    16         @session_start();
    17     }
     15    ebs_session_start();
    1816    if(!isset($_SESSION['ebs_slider_css'])){
    1917        $_SESSION['ebs_slider_css']=array();
    2018    }
     19    session_write_close();
    2120    extract(shortcode_atts(array(
    2221        'id' => count($_oscitas_slider),
     
    6261
    6362        $output .= '</div>';
     63        ebs_session_start();
    6464        $_SESSION['ebs_slider_css'][$id]=$id;
    6565        $_SESSION['ebs_slider_each_'.$id]="
     
    8989}
    9090        ";
    91 
     91session_write_close();
    9292    }
    9393    $_oscitas_slider['current_id'] -= 1;
  • easy-bootstrap-shortcodes/tags/4.0.0/styles/ebs-dstyle.php

    r893836 r1157671  
    22header("Content-type: text/css");
    33if(!session_id())
    4 session_start();
     4    ebs_session_start();
    55$css_ebs=<<<EOF
    66.osc_servicebox {
     
    4545    }
    4646}
    47 ?>
     47
     48session_write_close();
  • easy-bootstrap-shortcodes/tags/4.0.0/styles/ebs_dynamic_css.php

    r1142973 r1157671  
    22header("Content-type: text/css");
    33if(!session_id())
    4     session_start();
     4    ebs_session_start();
    55//echo $_SESSION['ebs_dynamic_css'];
    66if(isset($_SESSION['ebs_dynamic_css'])){
     
    1313    }
    1414}
     15
     16session_write_close();
  • easy-bootstrap-shortcodes/trunk/README.txt

    r1142973 r1157671  
    150150>= Note : we have removed the Line Separator, Dropcaps, Youtube & Vimeo video, Boxesframes, Horizontal Rule, Testimonial, Section Heading, Social, Lead,Page Header, Highlights shortcodes as these are PRO version features, which were committed to free version by mistake. =
    151151
     152= 4.4.0 =
     153
     154* [Fixes] Session issue patch provided by Vloo.
     155
    152156= 4.3.9 =
    153157
  • easy-bootstrap-shortcodes/trunk/osc_bootstrap_shortcode.php

    r1142973 r1157671  
    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.3.9
     7  Version: 4.4.0
    88  Author: oscitas
    99  Author URI: http://www.oscitasthemes.com
     
    174174            update_option( 'EBS_CUSTOM_CSS', isset($_POST['ebs_custom_css'])?$_POST['ebs_custom_css']:'' );
    175175            update_option( 'EBS_INCLUDE_FA', isset($_POST['fa_icon'])?$_POST['fa_icon']:'' );
     176            ebs_session_start();
    176177            $_SESSION['ebs_dynamic_css'] =$_POST['ebs_custom_css'];
     178            session_write_close();
    177179            update_option( 'EBS_SHORTCODE_PREFIX', isset($_POST['shortcode_prefix'])?$_POST['shortcode_prefix']:'' );
    178180
     
    286288     */
    287289    function osc_add_dynamic_css(){
     290        ebs_session_start();
    288291        $_SESSION['ebs_dynamic_css'] = get_option('EBS_CUSTOM_CSS','');
     292        session_write_close();
    289293        wp_enqueue_style('ebs_dynamic_css', plugins_url('/styles/ebs_dynamic_css.php', __FILE__));
    290294
  • easy-bootstrap-shortcodes/trunk/shortcode/servicebox/plugin_shortcode.php

    r925652 r1157671  
    55 * ********************************************************* */
    66$_ebsp_servicebox=array();
    7 
     7ebs_session_start();
    88$_SESSION['ebs_servicebox_css']=array();
     9session_write_close();
    910function osc_theme_servicebox($params, $content = null) {
    1011    global $_ebsp_servicebox;
     
    8586    ;
    8687    }';
     88    ebs_session_start();
    8789    $_SESSION['ebs_servicebox_css'][]= 'ebs_servicebox_css_id_'.$id;
    8890    $_SESSION['ebs_servicebox_css_id_'.$id]=$style;
     91    session_write_close();
    8992    wp_enqueue_style('ebs-dstyle',EBS_PLUGIN_URL.'styles/ebs-dstyle.php');
    9093    return $out;
  • easy-bootstrap-shortcodes/trunk/shortcode/slider/plugin_shortcode.php

    r925652 r1157671  
    1313        $_oscitas_slider = array('current_id'=>0);
    1414    }
    15     if(!session_id()){
    16         @session_start();
    17     }
     15    ebs_session_start();
    1816    if(!isset($_SESSION['ebs_slider_css'])){
    1917        $_SESSION['ebs_slider_css']=array();
    2018    }
     19    session_write_close();
    2120    extract(shortcode_atts(array(
    2221        'id' => count($_oscitas_slider),
     
    6261
    6362        $output .= '</div>';
     63        ebs_session_start();
    6464        $_SESSION['ebs_slider_css'][$id]=$id;
    6565        $_SESSION['ebs_slider_each_'.$id]="
     
    8989}
    9090        ";
    91 
     91session_write_close();
    9292    }
    9393    $_oscitas_slider['current_id'] -= 1;
  • easy-bootstrap-shortcodes/trunk/styles/ebs-dstyle.php

    r882228 r1157671  
    22header("Content-type: text/css");
    33if(!session_id())
    4 session_start();
     4    ebs_session_start();
    55$css_ebs=<<<EOF
    66.osc_servicebox {
     
    4545    }
    4646}
    47 ?>
     47
     48session_write_close();
  • easy-bootstrap-shortcodes/trunk/styles/ebs_dynamic_css.php

    r1142973 r1157671  
    22header("Content-type: text/css");
    33if(!session_id())
    4     session_start();
     4    ebs_session_start();
    55//echo $_SESSION['ebs_dynamic_css'];
    66if(isset($_SESSION['ebs_dynamic_css'])){
     
    1313    }
    1414}
     15
     16session_write_close();
Note: See TracChangeset for help on using the changeset viewer.