Ticket #20819: 20819.patch
| File 20819.patch, 622 bytes (added by SergeyBiryukov, 12 months ago) |
|---|
-
wp-admin/custom-header.php
96 96 97 97 add_filter( 'attachment_fields_to_edit', array( $this, 'attachment_fields_to_edit' ), 10, 2 ); 98 98 add_filter( 'media_upload_tabs', array( $this, 'filter_upload_tabs' ) ); 99 add_filter( 'media_upload_mime_type_links', array( $this, 'filter_upload_mime_type_links' ) ); 99 100 } 100 101 101 102 /** … … 984 985 return $tabs; 985 986 } 986 987 988 function filter_upload_mime_type_links() { 989 return array(); 990 } 991 987 992 }
