@@ -8,13 +8,13 @@ |
||
| 8 | 8 | */ |
| 9 | 9 | |
| 10 | 10 | if ( ! defined( 'ABSPATH' ) ) { |
| 11 | - exit; |
|
| 11 | + exit; |
|
| 12 | 12 | } |
| 13 | 13 | |
| 14 | 14 | define( 'LSX_VERSION', '2.9' ); |
| 15 | 15 | |
| 16 | 16 | if ( in_array( 'wordpress-seo/wp-seo.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) || in_array( 'wordpress-seo-premium/wp-seo-premium.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) { |
| 17 | - require get_template_directory() . '/includes/yoast/class-lsx-yoast.php'; |
|
| 17 | + require get_template_directory() . '/includes/yoast/class-lsx-yoast.php'; |
|
| 18 | 18 | } |
| 19 | 19 | |
| 20 | 20 | require get_template_directory() . '/includes/config.php'; |
@@ -7,13 +7,13 @@ |
||
| 7 | 7 | * @package lsx |
| 8 | 8 | */ |
| 9 | 9 | |
| 10 | -if ( ! defined( 'ABSPATH' ) ) { |
|
| 10 | +if ( ! defined('ABSPATH')) { |
|
| 11 | 11 | exit; |
| 12 | 12 | } |
| 13 | 13 | |
| 14 | -define( 'LSX_VERSION', '2.9' ); |
|
| 14 | +define('LSX_VERSION', '2.9'); |
|
| 15 | 15 | |
| 16 | -if ( in_array( 'wordpress-seo/wp-seo.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) || in_array( 'wordpress-seo-premium/wp-seo-premium.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) { |
|
| 16 | +if (in_array('wordpress-seo/wp-seo.php', apply_filters('active_plugins', get_option('active_plugins'))) || in_array('wordpress-seo-premium/wp-seo-premium.php', apply_filters('active_plugins', get_option('active_plugins')))) { |
|
| 17 | 17 | require get_template_directory() . '/includes/yoast/class-lsx-yoast.php'; |
| 18 | 18 | } |
| 19 | 19 | |