Changeset 62005 for branches/4.8/src/wp-includes/media.php
- Timestamp:
- 03/13/2026 01:03:05 PM (6 months ago)
- Location:
- branches/4.8
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/media.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.8
- Property svn:mergeinfo changed
/trunk merged: 61879-61884,61886-61887,61890,61913
- Property svn:mergeinfo changed
-
branches/4.8/src/wp-includes/media.php
r56864 r62005 3151 3151 } 3152 3152 3153 if ( $post_parent ) {3153 if ( $post_parent && current_user_can( 'read_post', $attachment->post_parent ) ) { 3154 3154 $parent_type = get_post_type_object( $post_parent->post_type ); 3155 3155 … … 3158 3158 } 3159 3159 3160 if ( $parent_type && current_user_can( 'read_post', $attachment->post_parent )) {3160 if ( $parent_type ) { 3161 3161 $response['uploadedToTitle'] = $post_parent->post_title ? $post_parent->post_title : __( '(no title)' ); 3162 3162 }
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)