From fdd770db966d8de010bbd332904f879925622293 Mon Sep 17 00:00:00 2001 From: Kevin Cristiano Date: Fri, 8 May 2015 22:22:58 -0400 Subject: [PATCH] CRM-15629: Add wpLoadPhp to core settings file ---------------------------------------- * CRM-15629: Paypal IPN not working on Wordpress the first time https://issues.civicrm.org/jira/browse/CRM-15629 --- settings/Core.setting.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/settings/Core.setting.php b/settings/Core.setting.php index e6312c0acf..6e347250be 100644 --- a/settings/Core.setting.php +++ b/settings/Core.setting.php @@ -734,4 +734,20 @@ return array( 'description' => 'When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.', 'help_text' => NULL, ), + 'wpLoadPhp' => array( + 'group_name' => 'CiviCRM Preferences', + 'group' => 'core', + 'name' => 'wpLoadPhp', + 'type' => 'String', + 'html_type' => 'text', + 'quick_form_type' => 'Element', + 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'default' => '', + 'add' => '4.6', + 'title' => 'WordPress Path to wp-load.php', + 'is_domain' => 1, + 'is_contact' => 0, + 'description' => 'CiviCRM will use this setting as path to bootstrap WP.', + 'help_text' => NULL, + ), ); -- 2.25.1