Skip to content

WordPress: preserve PHP attributes and wp-config.php whitespace - #964

Merged
adamziel merged 3 commits into
trunkfrom
wp-remove-whitespace-using-php-8
Jan 22, 2024
Merged

WordPress: preserve PHP attributes and wp-config.php whitespace#964
adamziel merged 3 commits into
trunkfrom
wp-remove-whitespace-using-php-8

Conversation

@adamziel

@adamziel adamziel commented Jan 22, 2024

Copy link
Copy Markdown
Collaborator

What is this PR doing?

A part of #957

Ensures that PHP attributes like #[ Attr ] are preserved when minifying WordPress by using PHP 8.0 for minification. PHP 7.4 stripped them out as comments.

Testing instructions

Confirm the CI tests pass

@adamziel
adamziel merged commit 0ea349f into trunk Jan 22, 2024
@adamziel
adamziel deleted the wp-remove-whitespace-using-php-8 branch January 22, 2024 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1 participant