Skip to content

Commit

Permalink
Updated the readme file and version numbers for the 4.0.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
pdobrescu committed Jan 13, 2023
1 parent cfa29a6 commit f40e690
Show file tree
Hide file tree
Showing 2 changed files with 11 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.0.1
* Version: 4.0.2
* Author: ShortPixel
* Author URI: https://shortpixel.com
* GitHub Plugin URI: https://github.com/short-pixel-optimizer/enable-media-replace
Expand All @@ -27,7 +27,7 @@

namespace EnableMediaReplace;

define( 'EMR_VERSION', '4.0.1' );
define( 'EMR_VERSION', '4.0.2' );

if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
Expand Down
10 changes: 9 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.1
Requires PHP: 5.6
Stable tag: 4.0.1
Stable tag: 4.0.2

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 @@ -61,6 +61,14 @@ If you want more control over the format in which the time is shown, you can use

== Changelog ==

= 4.0.2 =

Release date: January 13, 2023
* Fix: patched a security vulnerability that could allow loading an unauthorized file during the replace operation;
* Fix: finish the replace operation even if the tmp file cannot be removed due to file permissions issues;
* Fix: when replacing a scaled file with a non-scaled file, some links were broken;
* Fix: under certain conditions a PHP warning about an undefined array key was displayed.

= 4.0.1 =

Release date: November 23, 2022
Expand Down

0 comments on commit f40e690

Please sign in to comment.