From e84500094aa694cdf37f145a6b8d02123d751d3e Mon Sep 17 00:00:00 2001 From: Jacopo Tomasone Date: Tue, 23 Nov 2021 16:39:49 +0000 Subject: [PATCH] RePublicize: Enable the block editor UI by default (#21855) Co-authored-by: Jeremy Herve --- .../jetpack/changelog/update-enable-republicize-by-default | 4 ++++ projects/plugins/jetpack/class.jetpack-gutenberg.php | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 projects/plugins/jetpack/changelog/update-enable-republicize-by-default diff --git a/projects/plugins/jetpack/changelog/update-enable-republicize-by-default b/projects/plugins/jetpack/changelog/update-enable-republicize-by-default new file mode 100644 index 0000000000000..15d90152133fc --- /dev/null +++ b/projects/plugins/jetpack/changelog/update-enable-republicize-by-default @@ -0,0 +1,4 @@ +Significance: minor +Type: enhancement + +Enable the RePublicize UI in the block editor context. diff --git a/projects/plugins/jetpack/class.jetpack-gutenberg.php b/projects/plugins/jetpack/class.jetpack-gutenberg.php index 6aa7ce618e434..68311952c2a41 100644 --- a/projects/plugins/jetpack/class.jetpack-gutenberg.php +++ b/projects/plugins/jetpack/class.jetpack-gutenberg.php @@ -684,9 +684,9 @@ public static function enqueue_block_editor_assets() { * * @since 10.3.0 * - * @param bool false Enable the RePublicize UI in the block editor context. Defaults to false. + * @param bool true Enable the RePublicize UI in the block editor context. Defaults to true. */ - 'republicize_enabled' => apply_filters( 'jetpack_block_editor_republicize_feature', false ), + 'republicize_enabled' => apply_filters( 'jetpack_block_editor_republicize_feature', true ), ), 'siteFragment' => $status->get_site_suffix(), 'adminUrl' => esc_url( admin_url() ),