From 5bf66662a9bdd62c5bccab15e607cd95cfb8fcab Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 27 Jul 2020 10:05:23 +0200 Subject: Removed wordpress and phpmyadmin, my server doesn't handle it well and it brings shame on my familly --- srcs/wordpress/wp-includes/blocks/block.php | 48 ----------------------------- 1 file changed, 48 deletions(-) delete mode 100644 srcs/wordpress/wp-includes/blocks/block.php (limited to 'srcs/wordpress/wp-includes/blocks/block.php') diff --git a/srcs/wordpress/wp-includes/blocks/block.php b/srcs/wordpress/wp-includes/blocks/block.php deleted file mode 100644 index 24d2ab5..0000000 --- a/srcs/wordpress/wp-includes/blocks/block.php +++ /dev/null @@ -1,48 +0,0 @@ -post_type ) { - return ''; - } - - if ( 'publish' !== $reusable_block->post_status || ! empty( $reusable_block->post_password ) ) { - return ''; - } - - return do_blocks( $reusable_block->post_content ); -} - -/** - * Registers the `core/block` block. - */ -function register_block_core_block() { - register_block_type( - 'core/block', - array( - 'attributes' => array( - 'ref' => array( - 'type' => 'number', - ), - ), - 'render_callback' => 'render_block_core_block', - ) - ); -} -add_action( 'init', 'register_block_core_block' ); -- cgit