Changeset 30259
- Timestamp:
- 11/06/2014 08:15:51 AM (10 years ago)
- Location:
- branches/4.0
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.0
-
branches/4.0/src/wp-includes/media-template.php
r29704 r30259 395 395 <span class="value">{{ data.authorName }}</span> 396 396 </label> 397 <# if ( data.uploadedTo ) { #>397 <# if ( data.uploadedToTitle ) { #> 398 398 <label class="setting"> 399 399 <span class="name"><?php _e( 'Uploaded To' ); ?></span> -
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.