Skip to content

Commit 91a50b4

Browse files
committed
Move commands back to before_wp_load event
1 parent d8b0b68 commit 91a50b4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/SQLite_Command.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class SQLite_Command extends WP_CLI_Command {
2424
* $ wp sqlite import wordpress_dbase.sql
2525
* Success: Imported from 'import wordpress_dbase.sql'.
2626
*
27-
* @when after_wp_config_load
27+
* @when before_wp_load
2828
*/
2929
public function import( $args, $assoc_args ) {
3030
$enable_ast_driver = isset( $assoc_args['enable-ast-driver'] );
@@ -87,7 +87,7 @@ public function import( $args, $assoc_args ) {
8787
* $ wp sqlite export --exclude_tables=wp_posts,wp_users
8888
* Success: Exported to 'wordpress_dbase.sql'.
8989
*
90-
* @when after_wp_config_load
90+
* @when before_wp_load
9191
*/
9292
public function export( $args, $assoc_args ) {
9393
$is_porcelain = isset( $assoc_args['porcelain'] );

0 commit comments

Comments
 (0)