Make WordPress Core


Ignore:
Timestamp:
08/03/2015 09:12:28 PM (9 years ago)
Author:
ocean90
Message:

Heartbeat: Ensure post locks are released.

Merge of [33542] to the 4.0 branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/4.0/src/wp-admin/post.php

    r33376 r33545  
    159159
    160160    if ( ! empty( $_GET['get-post-lock'] ) ) {
     161        check_admin_referer( 'lock-post_' . $post_id );
    161162        wp_set_post_lock( $post_id );
    162163        wp_redirect( get_edit_post_link( $post_id, 'url' ) );
Note: See TracChangeset for help on using the changeset viewer.