Skip to content

Commit

Permalink
Ongoing PHPStan issue addressed
Browse files Browse the repository at this point in the history
  • Loading branch information
lloc committed Nov 26, 2024
1 parent 0f08f23 commit e3e79e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/MslsAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ public function reference_user(): void {
'multisite-language-switcher'
);

// phpcs:ignore WordPress.Security.EscapeOutput
trigger_error( sprintf( esc_html( $format ), strval( self::MAX_REFERENCE_USERS ) ) );

Check warning on line 389 in includes/MslsAdmin.php

View workflow job for this annotation

GitHub Actions / test

WordPress.PHP.DevelopmentFunctions.error_log_trigger_error

trigger_error() found. Debug code should not normally be used in production.
}

Expand Down

0 comments on commit e3e79e5

Please sign in to comment.