Skip to content

Commit 2468ee2

Browse files
committed
Merge branch 'updates' of github.com:short-pixel-optimizer/enable-media-replace into updates
2 parents 405ba64 + 96cbada commit 2468ee2

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

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.0.1-DEV01
6+
* Version: 4.0.1
77
* Author: ShortPixel
88
* Author URI: https://shortpixel.com
99
* GitHub Plugin URI: https://github.com/short-pixel-optimizer/enable-media-replace
@@ -27,7 +27,7 @@
2727

2828
namespace EnableMediaReplace;
2929

30-
define( 'EMR_VERSION', '4.0.1-DEV01' );
30+
define( 'EMR_VERSION', '4.0.1' );
3131

3232
if ( ! defined( 'ABSPATH' ) ) {
3333
exit; // Exit if accessed directly.

readme.txt

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Contributors: ShortPixel
33
Donate link: https://www.paypal.me/resizeImage
44
Tags: replace, attachment, media, files, replace image, remove background, replace jpg, change media, replace media, image, file
55
Requires at least: 4.9.7
6-
Tested up to: 6.0
6+
Tested up to: 6.1
77
Requires PHP: 5.6
8-
Stable tag: 4.0.0
8+
Stable tag: 4.0.1
99

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

@@ -61,6 +61,17 @@ If you want more control over the format in which the time is shown, you can use
6161

6262
== Changelog ==
6363

64+
= 4.0.1 =
65+
66+
Release date: November 22, 2022
67+
* Fix: files are now replaced correctly in environments running on Windows/IIC servers;
68+
* Fix: the mime type is now correctly detected, so that a warning is no longer displayed when replacing PDFs;
69+
* Fix: the plugin no longer tries to load its code for post IDs that are not attachments, like comments;
70+
* Fix: some warnings were displayed when using the Members plugin;
71+
* Compat: added integration for SiteOrigin Page Builder to correctly replace files in its widgets;
72+
* Compat: added `emr_after_remove_current` action hook (thanks @luistar15);
73+
* Tweak: added filter to disable the background replace functionality.
74+
6475
= 4.0.0 =
6576

6677
Release date: September 5th, 2022

0 commit comments

Comments
 (0)