Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.5.2
-
Fix Version/s: 4.5.5
-
Component/s: CiviCampaign
-
Documentation Required?:None
Description
When a petition is signed, the signer receives an email with a link which must be clicked to confirm the signature. That URL includes a parameter p, e.g. "&p=1".
if Civi is installed as a WordPress plugin, the confirmation page fails to load as WordPress uses the p parameter as a shortcut to a post or page, so a URL which contains "p=1" causes WordPress to display Post #1 rather than forwarding the request to Civi.
The problem can be corrected by applying the attached patches to the following files:
- civicrm/CRM/Campaign/BAO/Petition.php
- civicrm/CRM/Campaign/Page/Petition/Confirm.php