Changeset 62004 for branches/4.9/src/wp-includes/media.php
- Timestamp:
- 03/13/2026 12:57:21 PM (7 months ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/media.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
- Property svn:mergeinfo changed
/trunk merged: 61879-61884,61886-61887,61890,61913
- Property svn:mergeinfo changed
-
branches/4.9/src/wp-includes/media.php
r56865 r62004 3155 3155 } 3156 3156 3157 if ( $post_parent ) {3157 if ( $post_parent && current_user_can( 'read_post', $attachment->post_parent ) ) { 3158 3158 $parent_type = get_post_type_object( $post_parent->post_type ); 3159 3159 … … 3162 3162 } 3163 3163 3164 if ( $parent_type && current_user_can( 'read_post', $attachment->post_parent )) {3164 if ( $parent_type ) { 3165 3165 $response['uploadedToTitle'] = $post_parent->post_title ? $post_parent->post_title : __( '(no title)' ); 3166 3166 }
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)