Changeset 2446517
- Timestamp:
- 12/27/2020 09:53:26 PM (5 years ago)
- Location:
- performance-kit/trunk
- Files:
-
- 4 edited
-
admin/modules/analytics-module.php (modified) (1 diff)
-
admin/modules/misc-module.php (modified) (5 diffs)
-
freemius/assets/img/performance-kit.png (modified) (previous)
-
performance-kit.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
performance-kit/trunk/admin/modules/analytics-module.php
r2446406 r2446517 20 20 */ 21 21 22 if ( get_option( 'kit-local-analytics' ) === '1' ) {22 if ( ! empty( get_option( 'kit-local-analytics' ) ) && get_option( 'kit-local-analytics' ) === '1' ) { 23 23 24 24 if ( ! empty( get_option( 'kit-tracking-position' ) ) && get_option( 'kit-tracking-position' ) === 'wp_footer' ) { -
performance-kit/trunk/admin/modules/misc-module.php
r2446406 r2446517 21 21 */ 22 22 23 if ( ! empty( get_option( 'kit-svg-support' ) ) && get_option( 'kit-svg-support' ) == '1' ) {23 if ( ! empty( get_option( 'kit-svg-support' ) ) && get_option( 'kit-svg-support' ) === '1' ) { 24 24 25 25 function kit_mime_types( $mimes ) { … … 84 84 */ 85 85 86 if ( ! empty( get_option( 'kit-google-maps' ) ) && get_option( 'kit-google-maps' ) == '1' ) {86 if ( ! empty( get_option( 'kit-google-maps' ) ) && get_option( 'kit-google-maps' ) === '1' ) { 87 87 add_action( 'template_redirect', 'kit_disable_google_maps' ); 88 88 } … … 105 105 */ 106 106 107 if ( ! empty( get_option( 'kit-google-fonts' ) ) && get_option( 'kit-google-fonts' ) == '1' ) {107 if ( ! empty( get_option( 'kit-google-fonts' ) ) && get_option( 'kit-google-fonts' ) === '1' ) { 108 108 add_action( 'template_redirect', 'kit_disable_google_fonts' ); 109 109 } … … 126 126 */ 127 127 128 if ( ! empty( get_option( 'kit-gutenberg-editor' ) ) && get_option( 'kit-gutenberg-editor' ) == '1' ) {128 if ( ! empty( get_option( 'kit-gutenberg-editor' ) ) && get_option( 'kit-gutenberg-editor' ) === '1' ) { 129 129 130 130 if ( version_compare( $GLOBALS['wp_version'], '5.0-beta', '>' ) ) { … … 207 207 */ 208 208 209 if ( ! empty( get_option( 'kit-html-comments' ) ) && get_option( 'kit-html-comments' ) == '1' ) {209 if ( ! empty( get_option( 'kit-html-comments' ) ) && get_option( 'kit-html-comments' ) === '1' ) { 210 210 add_filter( 'pre_comment_content', 'esc_html' ); 211 211 } -
performance-kit/trunk/performance-kit.php
r2446406 r2446517 157 157 'has_addons' => false, 158 158 'has_paid_plans' => false, 159 'menu' => array( 160 'slug' => 'performance-kit', 161 'first-path' => '/admin.php?page=performance-kit', 162 'account' => false, 163 'contact' => false, 164 'support' => false, 165 ), 159 'menu' => false, 166 160 ) 167 161 );
Note: See TracChangeset
for help on using the changeset viewer.