Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-21812

WordPress install variable causes conflict with some WP plugins

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      The wp-cli-login-server plugin checks for the presence of elements in the $_GET array, and fails if any are found.  This conflicts with CiviCRM, which places:

      $_GET['civicrm_install_type'] = 'wordpress';
      

      into every page load.

      I confirmed that this value is only used for install, and placed a conditional around it to only insert pre-install.  I successfully installed CiviCRM and engaged in normal use with the conditional applied, and confirmed that this fixed the WP plugin.

        Attachments

          Activity

            People

            • Assignee:
              palantejon Jon K Goldberg
              Reporter:
              palantejon Jon K Goldberg
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: