[Website] Remove stray plugin proxy expression#4158
Merged
brandonpayton merged 1 commit intoJul 23, 2026
Merged
Conversation
ashfame
marked this pull request as ready for review
July 23, 2026 15:37
brandonpayton
merged commit Jul 23, 2026
f6fcf70
into
agent/plugin-proxy-default-response-headers
55 checks passed
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.
What changed
Remove the standalone
$pluginResponse;expression fromplugin-proxy.php.Why
The variable is never assigned or read, and it has no declaration or control-flow effect in PHP. The statement was introduced in 2023 with the Gutenberg pull-request preview flow and has remained unused. Evaluating the undefined variable can emit a warning even though
display_errorshides it from the HTTP response.Impact
There is no intended behavior change. The cleanup removes a no-op expression and avoids a possible undefined-variable warning in server logs.
Stack
This PR is stacked on #4157 and targets its head branch. It should be merged after #4157, which is itself stacked on #4137.
Validation