We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e9ea97 commit 271a5ceCopy full SHA for 271a5ce
1 file changed
features/language-core.feature
@@ -316,8 +316,15 @@ Feature: Manage translation files for a WordPress install
316
And I run `wp theme activate twentytwenty`
317
And an empty cache
318
And I run `wp core download --version=5.4.1 --force`
319
+ And a disable_sidebar_check.php file:
320
+ """
321
+ <?php
322
+ WP_CLI::add_wp_hook( 'init', static function () {
323
+ remove_action( 'after_switch_theme', '_wp_sidebars_changed' );
324
+ } );
325
326
- When I run `wp language core install de_DE --activate`
327
+ When I run `wp language core install de_DE --activate --require=disable_sidebar_check.php`
328
Then STDOUT should contain:
329
"""
330
Downloading translation from https://downloads.wordpress.org/translation/core/5.4.1/de_DE.zip
0 commit comments