Skip to content

Commit 84a65bb

Browse files
authored
bug: Fixes WP GraphQL fatal deactivation error (#355)
* Fixes #350 Updated semver plugin to version 3 Added wp-graphql as a required plugin to ensure you cannot enable the plguin without WPGraphQL enabled. * Added tested to and requires for WP GraphQL as per suggestion from @justlevine * Added Changeset * PHPCS fix. Added line break.
1 parent 708ab89 commit 84a65bb

File tree

4 files changed

+17
-9
lines changed

4 files changed

+17
-9
lines changed

.changeset/wicked-vans-fly.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@wpengine/wp-graphql-content-blocks": patch
3+
---
4+
5+
bug: Fixes fatal error when you de-activate WPGraphQL

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"require": {
88
"php": ">=7.4",
99
"imangazaliev/didom": "^2.0",
10-
"blakewilson/wp-enforce-semver": "^2.0"
10+
"blakewilson/wp-enforce-semver": "^3.0"
1111
},
1212
"require-dev": {
1313
"brain/monkey": "^2.6",

composer.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-graphql-content-blocks.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
* Version: 4.8.0
1212
* Requires PHP: 7.4
1313
* Requires at least: 5.7
14+
* Requires Plugins: wp-graphql
15+
* WPGraphQL requires at least: 1.14.5
16+
* WPGraphQL tested up to: 2.0.0
1417
*
1518
* @package WPGraphQL\ContentBlocks
1619
*/

0 commit comments

Comments
 (0)