Skip to content
Snippets Groups Projects
Unverified Commit 13981c77 authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #16284 from kcristiano/cleanurls-setting

Update civicrm.settings.php.template to default to CLEANURL for WP
parents b0a04394 d32a2b16
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