Changeset 28832 for trunk/src/wp-admin/includes/schema.php
- Timestamp:
- 06/25/2014 05:59:54 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/schema.php
r28712 r28832 919 919 --The Team @ SITE_NAME' ); 920 920 921 $misc_exts = array( 922 // images 923 'jpg', 'jpeg', 'png', 'gif', 924 // video 925 'mov', 'avi', 'mpg', '3gp', '3g2', 926 // "audio" 927 'midi', 'mid', 928 // misc 929 'pdf', 'doc', 'ppt', 'odt', 'pptx', 'docx', 'pps', 'ppsx', 'xls', 'xlsx', 'key', 930 ); 931 $audio_exts = wp_get_audio_extensions(); 932 $video_exts = wp_get_video_extensions(); 933 $upload_filetypes = array_unique( array_merge( $misc_exts, $audio_exts, $video_exts ) ); 934 921 935 $sitemeta = array( 922 936 'site_name' => $site_name, … … 924 938 'admin_user_id' => $site_user->ID, 925 939 'registration' => 'none', 926 'upload_filetypes' => 'jpg jpeg png gif mp3 mov avi wmv midi mid pdf',940 'upload_filetypes' => implode( ' ', $upload_filetypes ), 927 941 'blog_upload_space' => 100, 928 942 'fileupload_maxk' => 1500,
Note: See TracChangeset
for help on using the changeset viewer.