Skip to content

Commit

Permalink
fix sprintf deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
jGRUBBS committed Apr 30, 2024
1 parent 70d98a2 commit f7e5451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/utils/class-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public static function required_constants( $constants ) {
define( $constant, getenv( $constant ) );
}
if ( empty( constant( $constant ) ) ) {
$msg = sprintf( '%s not defined. Make sure to set %s in your environment.', $constant );
$msg = sprintf( '%s not defined. Make sure to set %s in your environment.', $constant, $constant );
trigger_error(
esc_html( $msg ),
E_USER_ERROR
Expand Down

0 comments on commit f7e5451

Please sign in to comment.