Plugin Directory

Changeset 944740


Ignore:
Timestamp:
07/08/2014 07:11:54 AM (12 years ago)
Author:
oscitas
Message:

2.6

  • [Fixes] fixed the undefined index ert_css & ert_js error message issue.
Location:
easy-responsive-tabs
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • easy-responsive-tabs/tags/2.2/README.txt

    r943919 r944740  
    7070== Changelog ==
    7171
     72= 2.6 =
     73
     74* [Fixes] fixed the undefined index ert_css & ert_js error message issue.
     75
    7276= 2.5 =
    7377
  • easy-responsive-tabs/tags/2.2/assets/css/ert_css.php

    r903949 r944740  
    22header("Content-type: text/css");
    33session_start();
    4 echo $_SESSION['ert_css'];
     4if (isset($_SESSION['ert_css'])) {
     5    echo $_SESSION['ert_css'];
     6}
    57?>
  • easy-responsive-tabs/tags/2.2/assets/js/ert_js.php

    r920174 r944740  
    33header("Content-type: text/javascript");
    44echo 'jQuery(document).ready(function() {';
    5 echo $_SESSION['ert_js'];unset($_SESSION['ert_js']);
     5if (isset($_SESSION['ert_js'])) {
     6    echo  $_SESSION['ert_js'];
     7    unset($_SESSION['ert_js']);
     8}
    69echo '});';
    710?>
  • easy-responsive-tabs/tags/2.2/easy_res_tab.php

    r943919 r944740  
    44  Plugin URI: http://www.oscitasthemes.com
    55  Description: Make bootstrap tabs res.
    6   Version: 2.5
     6  Version: 2.6
    77  Author: oscitas
    88  Author URI: http://www.oscitasthemes.com
     
    253253        wp_enqueue_script('ert_tab_js',ERT_ASSETS_URL.$this->resjs_path,array('jquery'),ERT_VERSION,true);
    254254        wp_enqueue_style('ert_tab_css',ERT_ASSETS_URL.$this->rescss_path);
    255         wp_enqueue_script('ert_js',ERT_ASSETS_URL.'js/ert_js.php',array('jquery','ert_tab_js'),ERT_VERSION,true);
    256         wp_enqueue_style('ert_css',ERT_ASSETS_URL.'css/ert_css.php');
     255        if (isset($_SESSION['ert_js']))  wp_enqueue_script('ert_js',ERT_ASSETS_URL.'js/ert_js.php',array('jquery','ert_tab_js'),ERT_VERSION,true);
     256        if (isset($_SESSION['ert_css'])) wp_enqueue_style('ert_css',ERT_ASSETS_URL.'css/ert_css.php');
    257257    }
    258258
  • easy-responsive-tabs/trunk/README.txt

    r943919 r944740  
    7070== Changelog ==
    7171
     72= 2.6 =
     73
     74* [Fixes] fixed the undefined index ert_css & ert_js error message issue.
     75
    7276= 2.5 =
    7377
  • easy-responsive-tabs/trunk/assets/css/ert_css.php

    r810619 r944740  
    22header("Content-type: text/css");
    33session_start();
    4 echo $_SESSION['ert_css'];
     4if (isset($_SESSION['ert_css'])) {
     5    echo $_SESSION['ert_css'];
     6}
    57?>
  • easy-responsive-tabs/trunk/assets/js/ert_js.php

    r920174 r944740  
    33header("Content-type: text/javascript");
    44echo 'jQuery(document).ready(function() {';
    5 echo $_SESSION['ert_js'];unset($_SESSION['ert_js']);
     5if (isset($_SESSION['ert_js'])) {
     6    echo  $_SESSION['ert_js'];
     7    unset($_SESSION['ert_js']);
     8}
    69echo '});';
    710?>
  • easy-responsive-tabs/trunk/easy_res_tab.php

    r943919 r944740  
    44  Plugin URI: http://www.oscitasthemes.com
    55  Description: Make bootstrap tabs res.
    6   Version: 2.5
     6  Version: 2.6
    77  Author: oscitas
    88  Author URI: http://www.oscitasthemes.com
     
    253253        wp_enqueue_script('ert_tab_js',ERT_ASSETS_URL.$this->resjs_path,array('jquery'),ERT_VERSION,true);
    254254        wp_enqueue_style('ert_tab_css',ERT_ASSETS_URL.$this->rescss_path);
    255         wp_enqueue_script('ert_js',ERT_ASSETS_URL.'js/ert_js.php',array('jquery','ert_tab_js'),ERT_VERSION,true);
    256         wp_enqueue_style('ert_css',ERT_ASSETS_URL.'css/ert_css.php');
     255        if (isset($_SESSION['ert_js']))  wp_enqueue_script('ert_js',ERT_ASSETS_URL.'js/ert_js.php',array('jquery','ert_tab_js'),ERT_VERSION,true);
     256        if (isset($_SESSION['ert_css'])) wp_enqueue_style('ert_css',ERT_ASSETS_URL.'css/ert_css.php');
    257257    }
    258258
Note: See TracChangeset for help on using the changeset viewer.