forked from LiveCarta/LiveCartaWP
LAW-3631 fix wp menu links
This commit is contained in:
@@ -215,7 +215,7 @@ function get_lawcarta_url(){
|
||||
}
|
||||
$host = implode('.', $hostParts);
|
||||
//Fix for staging env because of it use same domain carta.live for both lawcarta/livecarta
|
||||
if(LAWCARTA_ENVIRONMENT_NAME == 'staging' && $wp_sub_domain = 'staging-live'){
|
||||
if(LAWCARTA_ENVIRONMENT_NAME == 'staging' && $wp_sub_domain == 'staging-live'){
|
||||
$host = str_replace('staging-law', 'staging-live',$host);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user