Changeset 15920 for trunk/wp-admin/includes/media.php
- Timestamp:
- 10/22/2010 08:17:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r15858 r15920 1114 1114 1115 1115 $post = get_post( $attachment_id ); 1116 1117 $default_args = array( 'errors' => null, 'send' => post_type_supports(get_post_type($post->post_parent), 'editor'), 'delete' => true, 'toggle' => true, 'show_title' => true );1116 1117 $default_args = array( 'errors' => null, 'send' => $post->post_parent ? post_type_supports( get_post_type( $post->post_parent ), 'editor' ) : true, 'delete' => true, 'toggle' => true, 'show_title' => true ); 1118 1118 $args = wp_parse_args( $args, $default_args ); 1119 1119 extract( $args, EXTR_SKIP );
Note: See TracChangeset
for help on using the changeset viewer.