PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3
Jetpack – WP Security, Backup, Speed, & Growth v16.3
16.3 16.3-beta 16.3-a.5 16.3-a.7 16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 All 508 releases
← All changes | _inc/lib/admin-pages/class-jetpack-redux-state-helper.php +4 -0 16.3-a.5 → 16.3 View file →
@@ -6,8 +6,10 @@
6 6 * @package automattic/jetpack
7 7 */
8 8
9 9 use Automattic\Jetpack\Blaze;
10 +use Automattic\Jetpack\Comments\Block_Editor;
11 +use Automattic\Jetpack\Comments\Comments;
10 12 use Automattic\Jetpack\Connection\Manager as Connection_Manager;
11 13 use Automattic\Jetpack\Connection\Plugin_Storage as Connection_Plugin_Storage;
12 14 use Automattic\Jetpack\Connection\REST_Connector;
13 15 use Automattic\Jetpack\Constants;
@@ -207,8 +209,10 @@
207 209 'isSharingBlockAvailable' => isset( $block_availability['sharing-buttons'] )
208 210 && $block_availability['sharing-buttons']['available'],
209 211 'isLikeBlockAvailable' => isset( $block_availability['like'] )
210 212 && $block_availability['like']['available'],
213 + // The rebuilt comment form is what offers blocks; the package may lag this file on a staged deploy.
214 + 'isCommentBlocksAvailable' => class_exists( Block_Editor::class ) && Comments::is_enabled(),
211 215 ),
212 216 'themeData' => array(
213 217 'name' => $current_theme->get( 'Name' ),
214 218 'stylesheet' => $current_theme->get_stylesheet(),