WordPress.org

Make WordPress Core

Ticket #54198: 54198.patch

File 54198.patch, 715 bytes (added by aezazshekh, 2 months ago)

added short description in doc comment

  • edit-form-advanced.php

     
    1212}
    1313
    1414/**
     15 * Define the WordPress-specific global variables.
     16 *
    1517 * @global string       $post_type
    1618 * @global WP_Post_Type $post_type_object
    1719 * @global WP_Post      $post             Global post object.
     
    465467$referer = wp_get_referer();
    466468?>
    467469>
     470
    468471<?php wp_nonce_field( $nonce_action ); ?>
    469472<input type="hidden" id="user-id" name="user_ID" value="<?php echo (int) $user_ID; ?>" />
    470473<input type="hidden" id="hiddenaction" name="action" value="<?php echo esc_attr( $form_action ); ?>" />