Skip to content
Snippets Groups Projects
Unverified Commit d32a2b16 authored by kcristiano's avatar kcristiano
Browse files

Update civicrm.settings.php.template to default to CLEANURL for WP

parent 91e3e6b1
Branches
Tags
No related merge requests found
......@@ -505,6 +505,9 @@ if (!defined('CIVICRM_CLEANURL')) {
elseif ( function_exists('config_get') && config_get('system.core', 'clean_url') != 0) {
define('CIVICRM_CLEANURL', 1 );
}
elseif( function_exists('get_option') && get_option('permalink_structure') != '' ) {
define('CIVICRM_CLEANURL', 1 );
}
else {
define('CIVICRM_CLEANURL', 0);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment