diff --git a/environments/qa/wp-config-local.php b/environments/qa/wp-config-local.php index 6339fa7..f740488 100644 --- a/environments/qa/wp-config-local.php +++ b/environments/qa/wp-config-local.php @@ -15,6 +15,12 @@ define('LAWCARTA_ENVIRONMENT_NAME', 'qa'); define('LC_ALLOW_COOKIE_POPUP', true); define('LC_GTM', 'GTM-KXTRR4Q'); + +define( 'WP_DEBUG', true); +define( 'SCRIPT_DEBUG', true); +define( 'WP_DEBUG_LOG', true); + + $_SERVER['HTTPS'] = 'On'; //S3 uploads settings diff --git a/htdocs/wp-content/themes/lawcarta/functions.php b/htdocs/wp-content/themes/lawcarta/functions.php index 53ef50d..d083905 100644 --- a/htdocs/wp-content/themes/lawcarta/functions.php +++ b/htdocs/wp-content/themes/lawcarta/functions.php @@ -94,12 +94,6 @@ add_filter('wp_setup_nav_menu_item', function ($menu_item) return $menu_item; }); -add_action('init','add_lctc_val'); -function add_lctc_val() { - global $wp; - $wp->add_query_var('lctc'); -} - function get_canonocal_url() { $uri = explode('?', $_SERVER['REQUEST_URI']); if (isset($uri[1])) {