diff --git wp-includes/ms-functions.php wp-includes/ms-functions.php
index 6d7a2fb..3fc6646 100644
|
|
|
function recurse_dirsize( $directory ) {
|
| 1745 | 1745 | * @return array |
| 1746 | 1746 | */ |
| 1747 | 1747 | function check_upload_mimes( $mimes ) { |
| 1748 | | $site_exts = explode( ' ', get_site_option( 'upload_filetypes' ) ); |
| | 1748 | $site_exts = explode( ' ', get_site_option( 'upload_filetypes', 'jpg jpeg png gif' ) ); |
| | 1749 | $site_mimes = array(); |
| 1749 | 1750 | foreach ( $site_exts as $ext ) { |
| 1750 | 1751 | foreach ( $mimes as $ext_pattern => $mime ) { |
| 1751 | 1752 | if ( $ext != '' && strpos( $ext_pattern, $ext ) !== false ) |