Skip to content

Commit b62649c

Browse files
committed
Move export command to after wp config load to access db name
1 parent f2ea941 commit b62649c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/SQLite_Command.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function import( $args, $assoc_args ) {
7272
* $ wp sqlite export --exclude_tables=wp_posts,wp_users
7373
* Success: Exported to 'wordpress_dbase.sql'.
7474
*
75-
* @when before_wp_load
75+
* @when after_wp_config_load
7676
*/
7777
public function export( $args, $assoc_args ) {
7878
$is_porcelain = isset( $assoc_args['porcelain'] );

0 commit comments

Comments
 (0)