Skip to content

Commit

Permalink
Update vip-jetpack/vip-jetpack.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccahum authored Dec 10, 2024
1 parent 240dfb2 commit d8c15a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vip-jetpack/vip-jetpack.php
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ function vip_prevent_jetpack_post_by_email_database_noise() {
function vip_jetpack_disable_wpcom_block_editor() {
global $wp_version;
$matching_jetpack_constraints = defined( 'JETPACK__VERSION' ) && version_compare( JETPACK__VERSION, '13.7', '<' );
$matching_core_contstraints = version_compare( $wp_version, '6.6', '<' );
$matching_core_constraints = version_compare( $wp_version, '6.6', '<' );

if ( $matching_jetpack_constraints && $matching_core_contstraints ) {
add_filter( 'jetpack_tools_to_include', function ( $tools ) {
Expand Down

0 comments on commit d8c15a9

Please sign in to comment.