Changeset 61955 for branches/5.5/src/wp-includes/media.php
- Timestamp:
- 03/12/2026 02:15:58 AM (3 months ago)
- Location:
- branches/5.5
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/media.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.5
- Property svn:mergeinfo changed
/trunk merged: 61879-61885,61887,61890,61913
- Property svn:mergeinfo changed
-
branches/5.5/src/wp-includes/media.php
r56880 r61955 3813 3813 } 3814 3814 3815 if ( $post_parent ) {3815 if ( $post_parent && current_user_can( 'read_post', $attachment->post_parent ) ) { 3816 3816 $parent_type = get_post_type_object( $post_parent->post_type ); 3817 3817 … … 3820 3820 } 3821 3821 3822 if ( $parent_type && current_user_can( 'read_post', $attachment->post_parent )) {3822 if ( $parent_type ) { 3823 3823 $response['uploadedToTitle'] = $post_parent->post_title ? $post_parent->post_title : __( '(no title)' ); 3824 3824 }
Note: See TracChangeset
for help on using the changeset viewer.