Changeset 1165464
- Timestamp:
- 05/22/2015 04:46:25 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wp-performance-security/trunk/wp-performance-security.php
r1152155 r1165464 444 444 445 445 // Default SSL option == FALSE 446 if( $config['wpps_ga_ssl'] == 1 ){446 if( isset( $config['wpps_ga_ssl'] ) && $config['wpps_ga_ssl'] == 1 ){ 447 447 $tracking_code_ssl = "ga('set', 'forceSSL', true);"; 448 448 } else { … … 481 481 482 482 // 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 ) { 486 486 add_action('wp_head', 'wpps_ga_universal_insert', 999); 487 487 } else { … … 498 498 } 499 499 500 if( $config['wpps_menu_wp'] == 1 ){500 if( isset( $config['wpps_menu_wp'] ) && $config['wpps_menu_wp'] == 1 ){ 501 501 add_action( 'wp_before_admin_bar_render', 'wpps_menu_wp' ); 502 502 }
Note: See TracChangeset
for help on using the changeset viewer.