Plugin Directory

Changeset 1165464


Ignore:
Timestamp:
05/22/2015 04:46:25 AM (11 years ago)
Author:
imaginarymedia
Message:

0.7.2

  • Minor bug fixes, undefined indexes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-performance-security/trunk/wp-performance-security.php

    r1152155 r1165464  
    444444
    445445        // Default SSL option == FALSE
    446         if( $config['wpps_ga_ssl'] == 1 ){
     446        if( isset( $config['wpps_ga_ssl'] ) && $config['wpps_ga_ssl'] == 1 ){
    447447            $tracking_code_ssl = "ga('set', 'forceSSL', true);";
    448448        } else {
     
    481481
    482482    // Google Analytics insertion
    483     if( $config['wpps_ga_insert'] == 1 ){
    484 
    485         if( $config['wpps_ga_universal'] == 1 ) {
     483    if( isset( $config['wpps_ga_insert'] ) && $config['wpps_ga_insert'] == 1 ){
     484
     485        if( isset( $config['wpps_ga_universal'] ) && $config['wpps_ga_universal'] == 1 ) {
    486486            add_action('wp_head', 'wpps_ga_universal_insert', 999);
    487487        } else {
     
    498498    }
    499499
    500     if( $config['wpps_menu_wp'] == 1 ){
     500    if( isset( $config['wpps_menu_wp'] ) && $config['wpps_menu_wp'] == 1 ){
    501501        add_action( 'wp_before_admin_bar_render', 'wpps_menu_wp' );
    502502    }
Note: See TracChangeset for help on using the changeset viewer.