Changeset 61884
- Timestamp:
- 03/10/2026 12:36:43 PM (3 days ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/media.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r61844 r61884 4569 4569 if ( $attachment->post_parent ) { 4570 4570 $post_parent = get_post( $attachment->post_parent ); 4571 if ( $post_parent ) {4571 if ( $post_parent && current_user_can( 'read_post', $attachment->post_parent ) ) { 4572 4572 $response['uploadedToTitle'] = $post_parent->post_title ? $post_parent->post_title : __( '(no title)' ); 4573 4573 $response['uploadedToLink'] = get_edit_post_link( $attachment->post_parent, 'raw' );
Note: See TracChangeset
for help on using the changeset viewer.