Ticket #27439: class-wp-media-list-table.php.patch
File class-wp-media-list-table.php.patch, 752 bytes (added by , 11 years ago) |
---|
-
wp-admin/includes/class-wp-media-list-table.php
329 329 $parent_type = get_post_type_object( $parent->post_type ); 330 330 ?> 331 331 <td <?php echo $attributes ?>><strong> 332 <?php if ( current_user_can( 'edit_post', $post->post_parent ) && $parent_type->show_ui ) { ?>332 <?php if ( isset( $parent_type->show_ui ) && current_user_can( 'edit_post', $post->post_parent ) && $parent_type->show_ui ) { ?> 333 333 <a href="<?php echo get_edit_post_link( $post->post_parent ); ?>"> 334 334 <?php echo $title ?></a><?php 335 335 } else {