Index: /sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/functions.php
===================================================================
--- /sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/functions.php (revision 8478)
+++ /sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/functions.php (revision 8479)
@@ -170,12 +170,4 @@
}, 11 );
- add_action( 'wp_enqueue_scripts', function( $hook ) {
- // Gutenberg requires the post-locking functions defined within:
- // See `show_post_locked_dialog` and `get_post_metadata` filters below.
- include_once ABSPATH . 'wp-admin/includes/post.php';
-
- gutenberg_editor_scripts_and_styles( $hook );
- } );
-
add_action( 'enqueue_block_editor_assets', function() {
wp_enqueue_script( 'button-readonly', get_template_directory_uri() . '/js/button-readonly.js', array( 'wp-blocks', 'wp-element' ), null );