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

Add PhastPress as an incompatible plugin #56

Merged
merged 8 commits into from
Aug 30, 2024
Merged

Conversation

jazzsequence
Copy link
Contributor

@jazzsequence jazzsequence commented Aug 27, 2024

This PR adds the PhastPress plugin to the list of incompatible plugins (see docs page).

In addition to adding it to the items requireing review (which lists partially and incompatible plugins), it updates the main site health page to add any plugins that are incompatible on Pantheon to the critical issue section rather than listing them as recommended improvements only.

This is accomplished by adding a new boolean parameter to the output_compatibility_status_table function that allows a list of plugins to be passed (e.g. from get_compatibility_manual_fixes / get_compatibility_review_fiexes) and specifically filter by an incompatible value in a new plugin_compatibility parameter that can be added to plugins when doing tests for the Site Health page.

The update displays incompatible plugins alongside plugins that require manual fixes or other things listed as Critical issues.

Tests have been added for the output_compatibility_status_table function.

Fixes #53
Screenshot 2024-08-27 at 2 50 45 PM

@jazzsequence jazzsequence requested a review from a team as a code owner August 27, 2024 20:50
(plugin -> plugins)
@jazzsequence jazzsequence self-assigned this Aug 27, 2024
inc/site-health.php Outdated Show resolved Hide resolved
@jazzsequence jazzsequence merged commit 05ff4fc into main Aug 30, 2024
11 checks passed
@jazzsequence jazzsequence deleted the compat/wp-phastpress branch August 30, 2024 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add PhastPress to compatibility layer
2 participants