Skip to content

Commit 044c550

Browse files
authored
Merge pull request #71 from wp-cli/permit-edit-no-wp
Permit use of `wp config edit` when WP isn't functional
2 parents e6f9ae2 + c4cd25a commit 044c550

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Config_Command.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@ public function create( $_, $assoc_args ) {
173173
*
174174
* # Edit wp-config.php file in a specific editor
175175
* $ EDITOR=vim wp config edit
176+
*
177+
* @when before_wp_load
176178
*/
177179
public function edit() {
178180
$config_path = $this->get_config_path();

0 commit comments

Comments
 (0)