Make WordPress Core


Ignore:
Timestamp:
03/05/2015 05:34:40 AM (9 years ago)
Author:
wonderboymusic
Message:

Allow attachments to be Detached from their parent in media grid and list modes.

See #6820.

File:
1 edited

Legend:

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

    r31534 r31619  
    22682268        wp_send_json_error();
    22692269
     2270    if ( isset( $changes['parent'] ) )
     2271        $post['post_parent'] = $changes['parent'];
     2272
    22702273    if ( isset( $changes['title'] ) )
    22712274        $post['post_title'] = $changes['title'];
Note: See TracChangeset for help on using the changeset viewer.