forked from LiveCarta/LiveCartaWP
Merge commit '615540c176922be6c5f22c25a3e6759f9038121a' into wordpress
This commit is contained in:
@@ -15,6 +15,12 @@ define('LAWCARTA_ENVIRONMENT_NAME', 'qa');
|
|||||||
define('LC_ALLOW_COOKIE_POPUP', true);
|
define('LC_ALLOW_COOKIE_POPUP', true);
|
||||||
define('LC_GTM', 'GTM-KXTRR4Q');
|
define('LC_GTM', 'GTM-KXTRR4Q');
|
||||||
|
|
||||||
|
|
||||||
|
define( 'WP_DEBUG', true);
|
||||||
|
define( 'SCRIPT_DEBUG', true);
|
||||||
|
define( 'WP_DEBUG_LOG', true);
|
||||||
|
|
||||||
|
|
||||||
$_SERVER['HTTPS'] = 'On';
|
$_SERVER['HTTPS'] = 'On';
|
||||||
|
|
||||||
//S3 uploads settings
|
//S3 uploads settings
|
||||||
|
|||||||
@@ -94,12 +94,6 @@ add_filter('wp_setup_nav_menu_item', function ($menu_item)
|
|||||||
return $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() {
|
function get_canonocal_url() {
|
||||||
$uri = explode('?', $_SERVER['REQUEST_URI']);
|
$uri = explode('?', $_SERVER['REQUEST_URI']);
|
||||||
if (isset($uri[1])) {
|
if (isset($uri[1])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user