Ticket #22186: 22186.2.diff
File 22186.2.diff, 796 bytes (added by , 12 years ago) |
---|
-
wp-includes/media.php
1302 1302 // to ensure plugins will work. We will then unset those tabs. 1303 1303 $tabs = array( 1304 1304 // handler action suffix => tab label 1305 'type' => ' ',1306 'type_url' => ' ',1307 'gallery' => ' ',1308 'library' => ' ',1305 'type' => 'Upload', 1306 'type_url' => 'From URL', 1307 'gallery' => 'Gallery', 1308 'library' => 'Library', 1309 1309 ); 1310 1310 1311 1311 $tabs = apply_filters( 'media_upload_tabs', $tabs ); 1312 unset( $tabs['type'], $tabs['type_url'], $tabs['gallery'], $tabs['library'] );1312 // unset( $tabs['type'], $tabs['type_url'], $tabs['gallery'], $tabs['library'] ); 1313 1313 1314 1314 $settings = array( 1315 1315 'tabs' => $tabs,