Skip to content

Commit

Permalink
fix: cli add command method call
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubmikita committed Oct 21, 2024
1 parent e2a3164 commit a506076
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,9 @@ Yes! We're offering a [custom plugin development](https://bracketspace.com/custo

== Changelog ==

= [Next] =
* [Fixed] WP CLI add command function is not giving warnings anymore.

= 9.0.1 =
* [Changed] Notification data is now kept in the wp_posts table for easier reverting to previous version.

Expand Down
2 changes: 1 addition & 1 deletion src/Runtime.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public function cliCommands()
return;
}

\WP_CLI::addCommand('notification dump-hooks', Cli\DumpHooks::class);
\WP_CLI::add_command('notification dump-hooks', Cli\DumpHooks::class);
}

/**
Expand Down

0 comments on commit a506076

Please sign in to comment.