Skip to content

Commit

Permalink
Update the readme file and version numbers for the 4.1.5 release
Browse files Browse the repository at this point in the history
  • Loading branch information
pdobrescu committed Dec 14, 2023
1 parent 6c51287 commit 22b198d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
4 changes: 2 additions & 2 deletions enable-media-replace.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Enable Media Replace
* Plugin URI: https://wordpress.org/plugins/enable-media-replace/
* Description: Enable replacing media files by uploading a new file in the "Edit Media" section of the WordPress Media Library.
* Version: 4.1.4
* Version: 4.1.5
* Author: ShortPixel
* Author URI: https://shortpixel.com
* GitHub Plugin URI: https://github.com/short-pixel-optimizer/enable-media-replace
Expand All @@ -25,7 +25,7 @@
*
*/

define( 'EMR_VERSION', '4.1.4' );
define( 'EMR_VERSION', '4.1.5' );

if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
Expand Down
12 changes: 11 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: replace, attachment, media, files, replace image, remove background, repla
Requires at least: 4.9.7
Tested up to: 6.3
Requires PHP: 5.6
Stable tag: 4.1.4
Stable tag: 4.1.5

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

Expand Down Expand Up @@ -38,6 +38,10 @@ If you don't want to use the background removal feature, add this line to your t

```add_filter( 'emr/feature/background', '__return_false' );```

A similar filter, for the remote notification system is:

```add_filter( 'emr/feature/remote_notice', '__return_false' );```

To shorten the wait time before redirecting to the media editing screen, use the following filter and specify the wait time in seconds (0 means that redirection is immediate, but may cause problems in certain configurations):

```add_filter('emr/success/timeout', function () { return 3; });```
Expand Down Expand Up @@ -69,6 +73,12 @@ If you want more control over the format in which the time is shown, you can use

== Changelog ==

= 4.1.5 =

Release date: December 14, 2023
* Tweak: Added a filter to disable the remote notification system added in version 4.1.0;
* Fix: A potential "Reflected Cross-Site Scripting" vulnerability has been patched, responsibly disclosed by the Wordfence team.

= 4.1.4 =

Release date: September 22, 2023
Expand Down

0 comments on commit 22b198d

Please sign in to comment.