Changeset 21260
- Timestamp:
- 07/11/2012 10:20:15 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r21256 r21260 2052 2052 2053 2053 /** 2054 * {@internal Missing Short Description}}2054 * Displays the multi-file uploader message. 2055 2055 * 2056 2056 * @since 2.6.0 … … 2065 2065 add_action('post-plupload-upload-ui', 'media_upload_flash_bypass'); 2066 2066 2067 function multisite_over_quota_message() { 2068 echo '<p>' . sprintf( __( 'Sorry, you have used all of your storage quota of %s MB.' ), get_space_allowed() ) . '</p>'; 2069 } 2070 2071 /** 2072 * {@internal Missing Short Description}} 2067 /** 2068 * Displays the browser's built-in uploader message. 2073 2069 * 2074 2070 * @since 2.6.0 … … 2083 2079 add_action('post-html-upload-ui', 'media_upload_html_bypass'); 2084 2080 2081 /** 2082 * Displays the "After a file has been uploaded..." message. 2083 * 2084 * @since 3.3.0 2085 */ 2085 2086 function media_upload_text_after() { 2086 2087 ?> … … 2091 2092 2092 2093 /** 2093 * {@internal Missing Short Description}}2094 * 2095 * @since 2.6.02094 * Displays the checkbox to scale images. 2095 * 2096 * @since 3.3.0 2096 2097 */ 2097 2098 function media_upload_max_image_resize() { … … 2114 2115 } 2115 2116 2117 /** 2118 * Displays the out of storage quota message in Multisite. 2119 * 2120 * @since 3.5.0 2121 */ 2122 function multisite_over_quota_message() { 2123 echo '<p>' . sprintf( __( 'Sorry, you have used all of your storage quota of %s MB.' ), get_space_allowed() ) . '</p>'; 2124 } 2125 2116 2126 add_filter( 'async_upload_image', 'get_media_item', 10, 2 ); 2117 2127 add_filter( 'async_upload_audio', 'get_media_item', 10, 2 );
Note: See TracChangeset
for help on using the changeset viewer.