Changeset 30259 for branches/4.0/src/wp-includes/media.php
- Timestamp:
- 11/06/2014 08:15:51 AM (6 years ago)
- Location:
- branches/4.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.0
-
branches/4.0/src/wp-includes/media.php
r29678 r30259 2644 2644 if ( $attachment->post_parent ) { 2645 2645 $post_parent = get_post( $attachment->post_parent ); 2646 } else { 2647 $post_parent = false; 2648 } 2649 2650 if ( $post_parent ) { 2646 2651 $parent_type = get_post_type_object( $post_parent->post_type ); 2647 2652 if ( $parent_type && $parent_type->show_ui && current_user_can( 'edit_post', $attachment->post_parent ) ) {
Note: See TracChangeset
for help on using the changeset viewer.