Changeset 9885
- Timestamp:
- 05/19/2020 03:47:31 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload.php
r9592 r9885 258 258 public static function get_max_allowed_file_size() { 259 259 $upload_size_unit = wp_max_upload_size(); 260 261 // force max to 10M, since some sites seem to incorrectly report different values (temporary fix during investigation) 262 if ( $upload_size_unit > 10485760 ) { 263 $upload_size_unit = 10485760; 264 } 265 260 266 $byte_sizes = array( 'KB', 'MB', 'GB' ); 261 267
Note: See TracChangeset
for help on using the changeset viewer.