Version Description
Download this release
Release Info
Developer | uglyrobot |
Plugin | Tuxedo Big File Uploads |
Version | 2.0.1 |
Comparing to | |
See all releases |
Code changes from version 2.0 to 2.0.1
- readme.txt +7 -3
- tuxedo_big_file_uploads.php +15 -21
readme.txt
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
=== Big File Uploads - Increase Maximum File Upload Size ===
|
2 |
|
3 |
Plugin Name: Big File Uploads - Increase Maximum File Upload Size
|
4 |
-
Version: 2.0
|
5 |
Author: Infinite Uploads
|
6 |
Author URI: https://infiniteuploads.com/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=bfu_readme&utm_term=author_uri
|
7 |
Contributors: uglyrobot, jdailey, andtrev
|
8 |
Tags: increase file size limit, increase upload limit, max upload file size, post max size, upload limit, file upload, files uploader, ftp, video uploader, AJAX
|
9 |
Requires at least: 5.3
|
10 |
-
Tested up to: 5.
|
11 |
-
Stable tag: 2.0
|
12 |
Requires PHP: 5.5
|
13 |
License: GPLv2
|
14 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
@@ -111,6 +111,10 @@ No. [Infinite Uploads](https://wordpress.org/plugins/infinite-uploads/) is an op
|
|
111 |
|
112 |
== Changelog ==
|
113 |
|
|
|
|
|
|
|
|
|
114 |
2.0 - 2021-6-20
|
115 |
----------------------------------------------------------------------
|
116 |
- Development and support now managed by Infinite Uploads
|
1 |
=== Big File Uploads - Increase Maximum File Upload Size ===
|
2 |
|
3 |
Plugin Name: Big File Uploads - Increase Maximum File Upload Size
|
4 |
+
Version: 2.0.1
|
5 |
Author: Infinite Uploads
|
6 |
Author URI: https://infiniteuploads.com/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=bfu_readme&utm_term=author_uri
|
7 |
Contributors: uglyrobot, jdailey, andtrev
|
8 |
Tags: increase file size limit, increase upload limit, max upload file size, post max size, upload limit, file upload, files uploader, ftp, video uploader, AJAX
|
9 |
Requires at least: 5.3
|
10 |
+
Tested up to: 5.9
|
11 |
+
Stable tag: 2.0.1
|
12 |
Requires PHP: 5.5
|
13 |
License: GPLv2
|
14 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
111 |
|
112 |
== Changelog ==
|
113 |
|
114 |
+
2.0.1 - 2021-6-30
|
115 |
+
----------------------------------------------------------------------
|
116 |
+
- Bug fix: Sometimes the upgrade notice showed in wrong places in the admin area. props Nick H.
|
117 |
+
|
118 |
2.0 - 2021-6-20
|
119 |
----------------------------------------------------------------------
|
120 |
- Development and support now managed by Infinite Uploads
|
tuxedo_big_file_uploads.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: Big File Uploads
|
4 |
* Description: Enable large file uploads in the built-in WordPress media uploader via multipart uploads, and set maximum upload file size to any value based on user role. Uploads can be as large as available disk space allows.
|
5 |
-
* Version: 2.0
|
6 |
* Author: Infinite Uploads
|
7 |
* Author URI: https://infiniteuploads.com/?utm_source=bfu_plugin&utm_medium=plugin&utm_campaign=bfu_plugin&utm_content=meta
|
8 |
* Network: true
|
@@ -34,7 +34,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
34 |
die();
|
35 |
}
|
36 |
|
37 |
-
define( 'BIG_FILE_UPLOADS_VERSION', '2.0' );
|
38 |
|
39 |
/**
|
40 |
* Big File Uploads manager class.
|
@@ -235,33 +235,27 @@ class BigFileUploads {
|
|
235 |
?>
|
236 |
<script type="text/javascript">
|
237 |
jQuery(".max-upload-size").append(' <small><a style="text-decoration:none;" href="<?php echo esc_url( $this->settings_url() ); ?>"><?php esc_html_e( 'Change', 'tuxedo-big-file-uploads' ); ?></a></small>');
|
238 |
-
</script>
|
239 |
|
240 |
<?php
|
241 |
$dismissed = get_user_option( 'bfu_notice_dismissed', get_current_user_id() );
|
242 |
if ( ! class_exists( 'Infinite_Uploads' ) && ! $dismissed ) {
|
243 |
?>
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
});
|
253 |
});
|
254 |
-
})
|
255 |
-
|
256 |
-
<span id="bfu-upload-notice">
|
257 |
-
<small>
|
258 |
-
<?php esc_html_e( 'Want unlimited storage space?', 'tuxedo-big-file-uploads' ); ?> <a href="<?php echo esc_url( $this->settings_url() ); ?>#upgrade-modal"><?php esc_html_e( 'Move your media files to the Infinite Uploads cloud', 'tuxedo-big-file-uploads' ); ?>.</a>
|
259 |
-
</small>
|
260 |
-
<a style="width:12px;height:12px;font-size:12px;vertical-align:middle;" class="dashicons dashicons-no" title="<?php esc_attr_e( 'Dismiss', 'tuxedo-big-file-uploads' ); ?>" href="#"><span
|
261 |
-
class="screen-reader-text"><?php esc_html_e( 'Dismiss', 'tuxedo-big-file-uploads' ); ?></span></a>
|
262 |
-
</span>
|
263 |
<?php
|
264 |
}
|
|
|
|
|
|
|
265 |
}
|
266 |
|
267 |
/**
|
2 |
/**
|
3 |
* Plugin Name: Big File Uploads
|
4 |
* Description: Enable large file uploads in the built-in WordPress media uploader via multipart uploads, and set maximum upload file size to any value based on user role. Uploads can be as large as available disk space allows.
|
5 |
+
* Version: 2.0.1
|
6 |
* Author: Infinite Uploads
|
7 |
* Author URI: https://infiniteuploads.com/?utm_source=bfu_plugin&utm_medium=plugin&utm_campaign=bfu_plugin&utm_content=meta
|
8 |
* Network: true
|
34 |
die();
|
35 |
}
|
36 |
|
37 |
+
define( 'BIG_FILE_UPLOADS_VERSION', '2.0.1' );
|
38 |
|
39 |
/**
|
40 |
* Big File Uploads manager class.
|
235 |
?>
|
236 |
<script type="text/javascript">
|
237 |
jQuery(".max-upload-size").append(' <small><a style="text-decoration:none;" href="<?php echo esc_url( $this->settings_url() ); ?>"><?php esc_html_e( 'Change', 'tuxedo-big-file-uploads' ); ?></a></small>');
|
|
|
238 |
|
239 |
<?php
|
240 |
$dismissed = get_user_option( 'bfu_notice_dismissed', get_current_user_id() );
|
241 |
if ( ! class_exists( 'Infinite_Uploads' ) && ! $dismissed ) {
|
242 |
?>
|
243 |
+
(function ($) {
|
244 |
+
'use strict';
|
245 |
+
$(".max-upload-size").after('<span class="bfu-upload-notice"><small><?php esc_html_e( 'Want unlimited storage space?', 'tuxedo-big-file-uploads' ); ?> <a href="<?php echo esc_url( $this->settings_url() ); ?>#upgrade-modal"><?php esc_html_e( 'Move your media files to the Infinite Uploads cloud', 'tuxedo-big-file-uploads' ); ?>.</a></small><a style="width:12px;height:12px;font-size:12px;vertical-align:middle;" class="dashicons dashicons-no" title="<?php esc_attr_e( 'Dismiss', 'tuxedo-big-file-uploads' ); ?>" href="#"><span class="screen-reader-text"><?php esc_html_e( 'Dismiss', 'tuxedo-big-file-uploads' ); ?></span></a></span>');
|
246 |
+
$(function () {
|
247 |
+
var $notice = $('.bfu-upload-notice');
|
248 |
+
$notice.children('a.dashicons').on('click', function (event, el) {
|
249 |
+
$.get(ajaxurl + '?action=bfu_upload_dismiss');
|
250 |
+
$notice.hide();
|
|
|
251 |
});
|
252 |
+
});
|
253 |
+
})(jQuery);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
254 |
<?php
|
255 |
}
|
256 |
+
?>
|
257 |
+
</script>
|
258 |
+
<?php
|
259 |
}
|
260 |
|
261 |
/**
|