Skip to content

Commit 2307bf3

Browse files
t-hamanoclaude
andcommitted
Connectors: Align $file assignment with surrounding statements.
Why: The variable was flagged by `Generic.Formatting.MultipleStatementAlignment` because the equals sign was not aligned with the adjacent `$is_activated` and `$is_installed` assignments. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent c2bb4fc commit 2307bf3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/connectors.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ function _wp_connectors_get_connector_script_module_data( array $data ): array {
686686
);
687687

688688
if ( ! empty( $connector_data['plugin']['file'] ) ) {
689-
$file = $connector_data['plugin']['file'];
689+
$file = $connector_data['plugin']['file'];
690690
$is_activated = (bool) call_user_func( $connector_data['plugin']['is_active'] );
691691
$is_installed = $is_activated || 0 === validate_plugin( $file );
692692

0 commit comments

Comments
 (0)