You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 844f0bd
Browse filesBrowse the repository at this point in the historyBrowse files
WP_CLI::error( 'The --hook parameter must be a non-empty string.' );
45
-
}
46
-
47
44
// Check if the hook has already fired.
48
45
if ( did_action( $hook ) ) {
49
46
// Hook already fired, start the shell immediately.
@@ -52,7 +49,7 @@ public function __invoke( $_, $assoc_args ) {
52
49
// Hook hasn't fired yet.
53
50
WP_CLI::error(
54
51
sprintf(
55
-
"The '%s' hook has not fired yet. The shell command runs after WordPress is loaded, so only hooks that have already been triggered can be used. Common hooks that are available include: init, plugins_loaded, wp_loaded, admin_init.",
52
+
"The '%s' hook has not fired yet. The shell command runs after WordPress is loaded, so only hooks that have already been triggered can be used. Common hooks that are available include: init, plugins_loaded, wp_loaded.",
0 commit comments