| @@ -1,30 +1,6 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Module Name: Blocks | |
| 4 | - * Module Description: Add additional blocks to your site and post editors. | |
| 5 | - * Sort Order: 5 | |
| 6 | - * First Introduced: 13.9-a.8 | |
| 7 | - * Requires Connection: No | |
| 8 | - * Auto Activate: Yes | |
| 9 | - * Module Tags: blocks | |
| 10 | - * Feature: Writing | |
| 3 | + * Deprecated. No longer needed. | |
| 11 | 4 | * |
| 12 | - * @package automattic/jetpack | |
| 5 | + * @package Jetpack | |
| 13 | 6 | */ |
| 14 | - | |
| 15 | -add_action( 'jetpack_activate_module_blocks', 'jetpack_blocks_activate_module' ); | |
| 16 | - | |
| 17 | -/** | |
| 18 | - * Actions needed upon activating the blocks module. | |
| 19 | - * | |
| 20 | - * There is a legacy option to disable Jetpack blocks that we'll delete when this module is activated. | |
| 21 | - * Via jetpack_get_default_modules filter, we remove blocks from the default if the option is true. | |
| 22 | - * We'll leave that in place so _until the module is activated_ we will be sure to respect the previous | |
| 23 | - * setting. | |
| 24 | - * | |
| 25 | - * @since 13.9 | |
| 26 | - * @return void | |
| 27 | - */ | |
| 28 | -function jetpack_blocks_activate_module() { | |
| 29 | - delete_option( 'jetpack_blocks_disabled' ); // The function will check and return early if not present. | |
| 30 | -} | |