fix: resolve post by percent-encoded slug/URI when post_name is stored encoded (#3582)#3611
Merged
fix: resolve post by percent-encoded slug/URI when post_name is stored encoded (#3582)#3611
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3611 +/- ##
=======================================
Coverage 83.2% 83.2%
- Complexity 5161 5174 +13
=======================================
Files 286 286
Lines 22483 22511 +28
=======================================
+ Hits 18703 18727 +24
- Misses 3780 3784 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
…ests Ensures composer install runs in plugins/wp-graphql when testing wp-graphql-ide and wp-graphql-smart-cache so the core plugin can load and dependent tests see WPGraphQL available.
- wp-graphql: add @var WP_Query for $retry_query in NodeResolver (PHPStan) - wp-graphql-smart-cache: guard constants with defined() to avoid redefinition - wp-graphql-smart-cache: bootstrap PHPStan from ../wp-graphql/wp-graphql.php - lint: install WPGraphQL core deps when running PHPStan for smart-cache/ide
- NodeResolver: align equals in retry block (PHPCS MultipleStatementAlignment) - lint: use github.workspace for WPGraphQL core install path - smart-cache: remove deprecated checkMissingIterableValueType, add ignoreErrors
Use explicit run step with working-directory so core plugin vendor is created before PHPStan runs; add composer:v2 to PHPStan job so composer is available.
…s in CI Use load-wp-graphql-autoload.php to require core plugin vendor/autoload.php using __DIR__, so the path resolves correctly regardless of CWD when PHPStan runs. Fixes 'class not found' errors for GraphQL/WPGraphQL in lint job.
- Use scanFiles for axepress/wp-graphql-stubs (match IDE/ACF) instead of loading core plugin autoloader; remove load-wp-graphql-autoload.php - Lint: remove Install WPGraphQL core step and composer:v2 (no longer needed) - Add PHPStan ignores for stub/runtime type mismatches (Error $node, setPersistedQueryLoader closure, deadCode.unreachable in can_load_plugin)
This was referenced Mar 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
wp-graphql/wp-graphqlas a dev dependency from wp-graphql-ide and wp-graphql-smart-cache so the monorepo core plugin is used instead of a shadowing vendor copy.Tests
fixes: #3582