From a8cb46d9a37f0b8826163ecc2f8d465a35ce7336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helen=20Hou-Sand=C3=AD?= Date: Mon, 8 Jul 2013 15:45:53 +0000 Subject: [PATCH] Remove the conditional wrappers for the `edit_form_after_*` hooks. Using the `.edit-form-section` class will still add a 20px bottom margin; devs will just want to add wrapping containers as appropriate. fixes #24334; see #23240. git-svn-id: http://core.svn.wordpress.org/trunk@24586 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-form-advanced.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 044e0b302f..9322f272b4 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -376,11 +376,7 @@ wp_nonce_field( 'samplepermalink', 'samplepermalinknonce', false ); '; - do_action( 'edit_form_after_title', $post ); - echo ''; -} +do_action( 'edit_form_after_title', $post ); if ( post_type_supports($post_type, 'editor') ) { ?> @@ -412,11 +408,7 @@ if ( post_type_supports($post_type, 'editor') ) { '; - do_action( 'edit_form_after_editor', $post ); - echo ''; -} +do_action( 'edit_form_after_editor', $post ); ?>