Actualizacion 7.1.2
This commit is contained in:
@@ -3370,7 +3370,7 @@ function attachment_submitbox_metadata() {
|
||||
<?php
|
||||
if ( $post->post_parent ) {
|
||||
$post_parent = get_post( $post->post_parent );
|
||||
if ( $post_parent ) {
|
||||
if ( $post_parent && current_user_can( 'read_post', $post_parent->ID ) ) {
|
||||
$uploaded_to_title = $post_parent->post_title ? $post_parent->post_title : __( '(no title)' );
|
||||
$uploaded_to_link = get_edit_post_link( $post->post_parent, 'raw' );
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user