Skip to content

Commit

Permalink
Dirty hack for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kraftbj committed Oct 15, 2024
1 parent b5219ac commit 3c41cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/plugins/jetpack/class.jetpack-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ public static function get_preset( $deprecated = null ) {
* @return array A list of blocks: eg [ 'publicize', 'markdown' ]
*/
public static function get_jetpack_gutenberg_extensions_allowed_list() {
$preset_extensions_manifest = self::get_preset();
$preset_extensions_manifest = ( defined( 'TESTING_IN_JETPACK' ) && TESTING_IN_JETPACK ) ? array() : self::get_preset();
$blocks_variation = self::blocks_variation();

return self::get_extensions_preset_for_variation( $preset_extensions_manifest, $blocks_variation );
Expand Down

0 comments on commit 3c41cdd

Please sign in to comment.