Skip to content

Commit e50b3c7

Browse files
Copilotswissspidy
andcommitted
Add @when before_wp_load annotation to config create command
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
1 parent 39fada7 commit e50b3c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Config_Command.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ private static function get_initial_locale() {
189189
* # Using --prompt=dbpass will prompt for the 'dbpass' argument
190190
* $ wp config create --dbname=testing --dbuser=wp --prompt=dbpass < password.txt
191191
* Success: Generated 'wp-config.php' file.
192+
*
193+
* @when before_wp_load
192194
*/
193195
public function create( $_, $assoc_args ) {
194196
if ( ! Utils\get_flag_value( $assoc_args, 'force' ) ) {

0 commit comments

Comments
 (0)