From 2d064e1b8628618b2ed068adc7d16c0097b92c7d Mon Sep 17 00:00:00 2001 From: "Drew Jaynes (DrewAPicture)" Date: Mon, 24 Nov 2014 05:21:56 +0000 Subject: [PATCH] Ensure the DocBlock directly precedes the hook line for the `post_edit_form_tag` action in wp-admin/edit-form-advanced.php. This fixes the parser getting confused about which DocBlock belongs to which hook or function in this file. See #30473. git-svn-id: https://develop.svn.wordpress.org/trunk@30539 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/edit-form-advanced.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/edit-form-advanced.php b/src/wp-admin/edit-form-advanced.php index 6b33ca1417..a01ed2751d 100644 --- a/src/wp-admin/edit-form-advanced.php +++ b/src/wp-admin/edit-form-advanced.php @@ -398,16 +398,16 @@ if ( isset( $post_new_file ) && current_user_can( $post_type_object->cap->create

- tag. + * Fires inside the post editor form tag. * * @since 3.0.0 * * @param WP_Post $post Post object. */ -?> -
> +do_action( 'post_edit_form_tag', $post ); +?>>