Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions features/language-core.feature
Original file line number Diff line number Diff line change
Expand Up @@ -341,9 +341,12 @@ Feature: Manage core translation files for a WordPress install
And a disable_sidebar_check.php file:
"""
<?php
WP_CLI::add_wp_hook( 'init', static function () {
remove_action( 'after_switch_theme', '_wp_sidebars_changed' );
} );
WP_CLI::add_wp_hook(
'init',
static function () {
remove_action( 'after_switch_theme', '_wp_sidebars_changed' );
}
);
"""

When I run `wp language core install de_DE --activate --require=disable_sidebar_check.php`
Expand Down