Changeset 62006 for branches/4.7/src/wp-includes/media.php
- Timestamp:
- 03/13/2026 01:05:42 PM (7 months ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/media.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
- Property svn:mergeinfo changed
/trunk merged: 61879-61884,61886-61887,61890,61913
- Property svn:mergeinfo changed
-
branches/4.7/src/wp-includes/media.php
r56862 r62006 3127 3127 } 3128 3128 3129 if ( $post_parent ) {3129 if ( $post_parent && current_user_can( 'read_post', $attachment->post_parent ) ) { 3130 3130 $parent_type = get_post_type_object( $post_parent->post_type ); 3131 3131 … … 3134 3134 } 3135 3135 3136 if ( $parent_type && current_user_can( 'read_post', $attachment->post_parent )) {3136 if ( $parent_type ) { 3137 3137 $response['uploadedToTitle'] = $post_parent->post_title ? $post_parent->post_title : __( '(no title)' ); 3138 3138 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)