WordPress.org

Make WordPress Core

Changeset 31999


Ignore:
Timestamp:
04/03/2015 01:27:32 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Remove hidden user_id input from wp_comment_reply().

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

See [31776] for Edit Comment screen.

props dllh.
fixes #30307.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/template.php

    r31973 r31999  
    519519    </p>
    520520
    521     <input type="hidden" name="user_ID" id="user_ID" value="<?php echo get_current_user_id(); ?>" />
    522521    <input type="hidden" name="action" id="action" value="" />
    523522    <input type="hidden" name="comment_ID" id="comment_ID" value="" />
Note: See TracChangeset for help on using the changeset viewer.