Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix WP Clean Pages check when components are disabled #24950

Merged
merged 1 commit into from
Nov 13, 2022

Conversation

MegaphoneJon
Copy link
Contributor

Overview

In CiviCRM 5.55.1, the Clean URLs check fails on WordPress with CiviContribute disabled with the error ContributionPage API is not available because CiviContribute component is disabled. This doesn't happen on 5.54.1.

Before

Error.

After

No error.

Technical Details

Previously I suppose the APIs were available even if the component was enabled - but now it's not, so we check first.

@civibot
Copy link

civibot bot commented Nov 10, 2022

(Standard links)

@civibot civibot bot added the 5.56 label Nov 10, 2022
@eileenmcnaughton
Copy link
Contributor

@christianwach @kcristiano this makes sense to me & should be ported to stable IMHO. If you are happy I will merge & try to get this & a couple of other things pushed out next week

@christianwach
Copy link
Member

@eileenmcnaughton Code looks sensible to me.

@kcristiano
Copy link
Member

I agree.

@eileenmcnaughton
Copy link
Contributor

Stable port #24972

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants