Skip to content
Snippets Groups Projects
  • Kevin Cristiano's avatar
    23cc3cff
    CRM-21812 - don't specify installation type post install · 23cc3cff
    Kevin Cristiano authored
    
    props @MegaphoneJon
    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.
    
    This is intended to close aaemnnosttv/wp-cli-login-command#24.
    
    Signed-off-by: default avatarKevin Cristiano <kcristiano@tadpole.cc>
    23cc3cff
    History
    CRM-21812 - don't specify installation type post install
    Kevin Cristiano authored
    
    props @MegaphoneJon
    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.
    
    This is intended to close aaemnnosttv/wp-cli-login-command#24.
    
    Signed-off-by: default avatarKevin Cristiano <kcristiano@tadpole.cc>