Changeset 2213495
- Timestamp:
- 12/17/2019 09:41:00 AM (6 years ago)
- Location:
- wpsimpletools-upload-limit/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (4 diffs)
-
wpsimpletools-upload-limit.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpsimpletools-upload-limit/trunk/readme.txt
r2212836 r2213495 1 === WpSimpleToolsUpload Limit ===1 === Manage Upload Limit === 2 2 Contributors: WpSimpleTools 3 3 Tags: upload limit, upload size, max upload size … … 6 6 Requires PHP: 5.0.0 7 7 Tested up to: 5.3.1 8 Stable tag: 1.0. 38 Stable tag: 1.0.4 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 18 18 == Upgrade Notice == 19 19 20 = 1.0. 3=21 1.0. 3 Minor bugfix20 = 1.0.4 = 21 1.0.4 Rebranding 22 22 23 23 == Frequently Asked Questions == … … 28 28 = 1.0.0 = 29 29 1.0.0 First release 30 31 30 = 1.0.1 = 32 31 1.0.1 WP 5.3 supported 33 34 32 = 1.0.2 = 35 33 1.0.2 Transalation ready 36 37 34 = 1.0.3 = 38 35 1.0.3 Minor bugfix 36 = 1.0.4 = 37 1.0.4 Rebranding 39 38 40 39 == Screenshots == -
wpsimpletools-upload-limit/trunk/wpsimpletools-upload-limit.php
r2212836 r2213495 6 6 * Author: WpSimpleTools 7 7 * Author URI: https://profiles.wordpress.org/wpsimpletools/#content-plugins 8 * Version: 1.0. 38 * Version: 1.0.4 9 9 * Plugin Slug: wpsimpletools-upload-limit 10 10 * Text Domain: wpsimpletools-upload-limit … … 26 26 27 27 <div class="wrap"> 28 <h2> WpSimpleTools Upload Limit</h2>28 <h2><?php _e('WpSimpleTools Upload Limit', 'wpsimpletools-upload-limit');?></h2> 29 29 30 30 … … 35 35 if (ctype_digit($upload_limit)) { 36 36 update_option('max_file_size', $upload_limit); 37 // echo "<script>window.location='" . $_SERVER["REQUEST_URI"] . "'</script>";38 // OK39 37 $class = 'notice notice-success is-dismissible'; 40 38 $message = __('Setting saved!', 'wpsimpletools-upload-limit'); … … 46 44 } 47 45 } else { 48 ?> <p> Current limit is<?php echo wpst_ul_human_filesize(get_option('max_file_size')); ?></p>46 ?> <p><?php _e('Current limit is ', 'wpsimpletools-upload-limit');?><?php echo wpst_ul_human_filesize(get_option('max_file_size')); ?></p> 49 47 <?php 50 48 }
Note: See TracChangeset
for help on using the changeset viewer.