Skip to content

Commit 378e225

Browse files
authoredMar 7, 2024··
Merge pull request #740 from 10up/fix/composer-error
Ensure we don't throw a fatal error if composer isn't set up correctly
2 parents d42fdee + 2d12038 commit 378e225

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( 'Warning: Composer not setup in %s', CLASSIFAI_PLUGIN_DIR )
9292
);
9393

9494
return false;

0 commit comments

Comments
 (0)
Please sign in to comment.