Make WordPress Core

Ticket #18329: update_gallery_tab.diff

File update_gallery_tab.diff, 364 bytes (added by sastrugisnow, 13 years ago)
  • wp-admin/includes/media.php

     
    4040                return $tabs;
    4141        }
    4242
     43        if ( !isset($tabs['gallery']) ) {
     44                return $tabs;
     45        };
     46
    4347        $post_id = intval($_REQUEST['post_id']);
    4448
    4549        if ( $post_id )