Skip to content

Commit 534aa12

Browse files
authored
Release version 4.1.6 (#103)
Merge pull request #103 from short-pixel-optimizer/hotfix-4.1.6
2 parents c1a39c9 + ef20737 commit 534aa12

File tree

3 files changed

+19
-7
lines changed

3 files changed

+19
-7
lines changed

classes/uihelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function getFormUrl($attach_id, $action = null)
4646
// 'noheader' => true,
4747
'action' => $action,
4848
'attachment_id' => $attach_id,
49-
));
49+
), $url);
5050

5151
if (isset($_REQUEST['SHORTPIXEL_DEBUG']))
5252
{

enable-media-replace.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Enable Media Replace
44
* Plugin URI: https://wordpress.org/plugins/enable-media-replace/
55
* Description: Enable replacing media files by uploading a new file in the "Edit Media" section of the WordPress Media Library.
6-
* Version: 4.1.5
6+
* Version: 4.1.6
77
* Author: ShortPixel
88
* Author URI: https://shortpixel.com
99
* GitHub Plugin URI: https://github.com/short-pixel-optimizer/enable-media-replace
@@ -25,7 +25,7 @@
2525
*
2626
*/
2727

28-
define( 'EMR_VERSION', '4.1.5' );
28+
define( 'EMR_VERSION', '4.1.6' );
2929

3030
if ( ! defined( 'ABSPATH' ) ) {
3131
exit; // Exit if accessed directly.

readme.txt

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
=== Enable Media Replace ===
22
Contributors: ShortPixel
33
Donate link: https://www.paypal.me/resizeImage
4-
Tags: replace, attachment, media, files, replace image, remove background, replace jpg, change media, replace media, image, file
4+
Tags: replace, replace image, remove background, replace jpg, change media
55
Requires at least: 4.9.7
6-
Tested up to: 6.3
6+
Tested up to: 6.8
77
Requires PHP: 5.6
8-
Stable tag: 4.1.5
8+
Stable tag: 4.1.6
9+
License: GPLv2 or later
10+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
911

1012
Easily replace any attached image/file by simply uploading a new file in the Media Library edit view - a real time saver!
1113

@@ -57,12 +59,12 @@ If you want more control over the format in which the time is shown, you can use
5759

5860
**Other plugins by [ShortPixel](https://shortpixel.com):**
5961

62+
* [FastPixel Caching](https://wordpress.org/plugins/fastpixel-website-accelerator/) - WP Optimization made easy
6063
* [ShortPixel Image Optimizer](https://wordpress.org/plugins/shortpixel-image-optimiser/) - Image optimization & compression for all the images on your website, including WebP & AVIF delivery
6164
* [ShortPixel Adaptive Images](https://wordpress.org/plugins/shortpixel-adaptive-images/) - On-the-fly image optimization & CDN delivery
6265
* [Resize Image After Upload](https://wordpress.org/plugins/resize-image-after-upload/) - Automatically resize each uploaded image
6366
* [reGenerate Thumbnails Advanced](https://wordpress.org/plugins/regenerate-thumbnails-advanced/) - Easily regenerate thumbnails
6467
* [WP SVG Images](https://wordpress.org/plugins/wp-svg-images/) - Secure upload of SVG files to Media Library
65-
* [ShortPixel Critical CSS](https://wordpress.org/plugins/shortpixel-critical-css/) - Automatically generate above-the-fold CSS for fatster loading times and better SEO scores
6668

6769
**Get in touch!**
6870

@@ -71,8 +73,18 @@ If you want more control over the format in which the time is shown, you can use
7173
* Facebook <a href="https://www.facebook.com/ShortPixel" target="_blank">https://www.facebook.com/ShortPixel</a>
7274
* LinkedIn <a href="https://www.linkedin.com/company/shortpixel" target="_blank">https://www.linkedin.com/company/shortpixel</a>
7375

76+
== Frequently Asked Questions ==
77+
78+
= Where do I report security bugs found in this plugin? =
79+
Please report security bugs found in the source code of the Enable Media Replace plugin through the [Patchstack Vulnerability Disclosure Program](https://patchstack.com/database/vdp/enable-media-replace). The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin.
80+
7481
== Changelog ==
7582

83+
= 4.1.6 =
84+
85+
Release date: March 25, 2025
86+
* Fix: A potential "Reflected Cross-Site Scripting" vulnerability has been patched, responsibly disclosed by the PatchStack team.
87+
7688
= 4.1.5 =
7789

7890
Release date: December 14, 2023

0 commit comments

Comments
 (0)