Skip to content

Conversation

@colinmurphy
Copy link
Member

@colinmurphy colinmurphy commented Feb 26, 2025

Solves #350 and #353

Overview

  • Fixes a bug with WPGraphQL Content Blocks causing a fatal error when WPGraphQL is de-activated. The plugin now requires WPGraphQL
  • Added plugin info for WPGraphQL. Tested to 2.0 and requires at least 1.14.5 (same as composer lock file)

Tests

Installed WPGraphQL 2.0 on WP 6.7.2 with Local

  1. Couldn't enable WPGraphQL Content Blocks until WPGraphQL was enabled
  2. WPGraphQL plugin couldn't be disabled when WPGraphQL Content Blocks was activated too

Screenshots

Screenshot 2025-02-26 at 17 39 05 Screenshot 2025-02-26 at 17 39 16 Screenshot 2025-02-26 at 17 39 30

Updated semver plugin to version 3

Added wp-graphql as a required plugin to ensure you cannot enable the plguin without WPGraphQL enabled.
@changeset-bot
Copy link

changeset-bot bot commented Feb 26, 2025

🦋 Changeset detected

Latest commit: fdb9589

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@wpengine/wp-graphql-content-blocks Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@colinmurphy colinmurphy marked this pull request as ready for review February 26, 2025 17:50
@colinmurphy colinmurphy requested a review from a team as a code owner February 26, 2025 17:50
@colinmurphy
Copy link
Member Author

@justlevine @theodesp FYI

@colinmurphy
Copy link
Member Author

Thanks @theodesp

@justlevine We will look at getting a release for this on Monday.

@colinmurphy colinmurphy merged commit 84a65bb into main Feb 27, 2025
12 checks passed
@colinmurphy colinmurphy deleted the bug-fix-wpgraphql-plugin-disabled-fatal-error branch February 27, 2025 18:46
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.

3 participants