Skip to content

fix(faustwp): stop passing null to preg_match when a front-end URL is missing - #2701

Open
josephfusco wants to merge 4 commits into
canaryfrom
fix/settings-preg-match-null
Open

josephfusco wants to merge 4 commits into
canaryfrom
fix/settings-preg-match-null

Conversation

@josephfusco

@josephfusco josephfusco commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Related: #2700

A null front-end URL is still rejected and keeps the saved one, exactly as before, just without the PHP 8.1+ deprecation notice; the test-only $server property declaration clears the other notice, and the plugin tests now fail on any PHP deprecation instead of just printing it; they pass on WordPress 7.1 with PHP 8.5 and 6.8 with PHP 8.2, and fail with the original fix reverted.

Use of AI Tools

AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5.5
Used for: Assisting with tracing the deprecation notices from the plugin tests and fixing them without changing behavior.

@josephfusco josephfusco added [Type] Bug An existing feature is broken [Area] WordPress Plugin Issues for the Faust.js WordPress plugin labels Oct 23, 2026
@josephfusco
josephfusco marked this pull request as ready for review October 23, 2026 17:18
@josephfusco
josephfusco requested review from a team and colinmurphy as code owners October 23, 2026 17:18

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Area] WordPress Plugin Issues for the Faust.js WordPress plugin [Type] Bug An existing feature is broken

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant