Make WordPress Core

Changeset 31776


Ignore:
Timestamp:
03/14/2015 12:52:15 AM (10 years ago)
Author:
SergeyBiryukov
Message:

Remove hidden user_id input from Edit Comment screen.

Since [31172], it caused the comment's user_id field to be unexpectedly changed to the user who edits the comment.

fixes #30307.

File:
1 edited

Legend:

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

    r31681 r31776  
    1717
    1818<div id="poststuff">
    19 <input type="hidden" name="user_ID" value="<?php echo (int) $user_ID; ?>" />
    2019<input type="hidden" name="action" value="editedcomment" />
    2120<input type="hidden" name="comment_ID" value="<?php echo esc_attr( $comment->comment_ID ); ?>" />
Note: See TracChangeset for help on using the changeset viewer.