Changeset 9888
- Timestamp:
- 05/19/2020 08:17:37 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/upload.php
r9887 r9888 8 8 } 9 9 add_action( 'init', 'wporg_themes_upload_shortcode' ); 10 11 /** 12 * Sets upload size limit to limit theme ZIP file uploads to 10 MB. 13 */ 14 function wporg_themes_upload_size_limit() { 15 return 10 * MB_IN_BYTES; 16 } 17 add_filter( 'upload_size_limit', 'wporg_themes_upload_size_limit', 10, 0 ); 10 18 11 19 /**
Note: See TracChangeset
for help on using the changeset viewer.