Skip to content

Commit 56c70e6

Browse files
committed
Ensure we don't throw a fatal error if composer isn't set up correctly
1 parent fd8991c commit 56c70e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classifai.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function classifai_autoload() {
8888
return true;
8989
} else {
9090
error_log( // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log
91-
sprintf( esc_html__( 'Fatal Error: Composer not setup in %', 'classifai' ), CLASSIFAI_PLUGIN_DIR )
91+
sprintf( 'Fatal Error: Composer not setup in %s', CLASSIFAI_PLUGIN_DIR )
9292
);
9393

9494
return false;

0 commit comments

Comments
 (0)