Skip to content

Commit fdd770d

Browse files
kcristianokurund
authored andcommitted
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
1 parent b299b1c commit fdd770d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

settings/Core.setting.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,4 +734,20 @@
734734
'description' => 'When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.',
735735
'help_text' => NULL,
736736
),
737+
'wpLoadPhp' => array(
738+
'group_name' => 'CiviCRM Preferences',
739+
'group' => 'core',
740+
'name' => 'wpLoadPhp',
741+
'type' => 'String',
742+
'html_type' => 'text',
743+
'quick_form_type' => 'Element',
744+
'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
745+
'default' => '',
746+
'add' => '4.6',
747+
'title' => 'WordPress Path to wp-load.php',
748+
'is_domain' => 1,
749+
'is_contact' => 0,
750+
'description' => 'CiviCRM will use this setting as path to bootstrap WP.',
751+
'help_text' => NULL,
752+
),
737753
);

0 commit comments

Comments
 (0)