diff --git a/inc/class-block-editor.php b/inc/class-block-editor.php index 58ba02b2cf4b9d8993d102a9e20abc687e933e5b..261090faa6a068b2c5362a510656464692db60fc 100644 --- a/inc/class-block-editor.php +++ b/inc/class-block-editor.php @@ -147,7 +147,7 @@ class Block_Editor { * @return false */ public function filter_is_protected_meta( $protected, $meta_key ) { - if ( $meta_key === WP_REVISIONS_CONTROL_LIMIT_META_KEY ) { + if ( WP_REVISIONS_CONTROL_LIMIT_META_KEY === $meta_key ) { return false; } @@ -167,7 +167,7 @@ class Block_Editor { __DIR__ ), $asset_data['dependencies'], - $asset_data['version'], + $asset_data['version'] ); } }