|
@@ 739-748 (lines=10) @@
|
| 736 |
|
/* |
| 737 |
|
* Experimental and Beta blocks need the production blocks as well. |
| 738 |
|
*/ |
| 739 |
|
if ( |
| 740 |
|
'experimental' === $blocks_variation |
| 741 |
|
|| 'beta' === $blocks_variation |
| 742 |
|
) { |
| 743 |
|
$production_extensions = isset( $preset_extensions_manifest->production ) |
| 744 |
|
? (array) $preset_extensions_manifest->production |
| 745 |
|
: array(); |
| 746 |
|
|
| 747 |
|
$preset_extensions = array_unique( array_merge( $preset_extensions, $production_extensions ) ); |
| 748 |
|
} |
| 749 |
|
|
| 750 |
|
/* |
| 751 |
|
* Beta blocks need the experimental blocks as well. |
|
@@ 759-765 (lines=7) @@
|
| 756 |
|
* - Experimental |
| 757 |
|
* - Beta |
| 758 |
|
*/ |
| 759 |
|
if ( 'beta' === $blocks_variation ) { |
| 760 |
|
$production_extensions = isset( $preset_extensions_manifest->experimental ) |
| 761 |
|
? (array) $preset_extensions_manifest->experimental |
| 762 |
|
: array(); |
| 763 |
|
|
| 764 |
|
$preset_extensions = array_unique( array_merge( $preset_extensions, $production_extensions ) ); |
| 765 |
|
} |
| 766 |
|
|
| 767 |
|
return $preset_extensions; |
| 768 |
|
} |