Make WordPress Core

Changeset 30539


Ignore:
Timestamp:
11/24/2014 05:21:56 AM (10 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-form-advanced.php

    r30505 r30539  
    399399    </p>
    400400</div>
    401 <?php
    402 /**
    403  * Fires inside the post editor <form> tag.
     401<form name="post" action="post.php" method="post" id="post"<?php
     402/**
     403 * Fires inside the post editor form tag.
    404404 *
    405405 * @since 3.0.0
     
    407407 * @param WP_Post $post Post object.
    408408 */
    409 ?>
    410 <form name="post" action="post.php" method="post" id="post"<?php do_action( 'post_edit_form_tag', $post ); ?>>
     409do_action( 'post_edit_form_tag', $post );
     410?>>
    411411<?php wp_nonce_field($nonce_action); ?>
    412412<input type="hidden" id="user-id" name="user_ID" value="<?php echo (int) $user_ID ?>" />
Note: See TracChangeset for help on using the changeset viewer.