Plugin Directory

Changeset 3797751


Ignore:
Timestamp:
11/12/2026 08:13:23 AM (less than one hour ago)
Author:
reinventwp
Message:

Release 1.0.5

Location:
reinvent-watermark/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • reinvent-watermark/trunk/includes/class-rwpwm-engine.php

    r3790838 r3797751  
    427427                        $file  = is_file( $large ) ? $large : $file;
    428428                }
     429                // An image that already has the watermark: preview on its kept original, as a re-apply
     430                // draws on it, so the old mark doesn't show beside the new one.
     431                if ( $file && self::is_watermarked( $id ) ) {
     432                        $dir      = self::originals_dir();
     433                        $original = $dir ? $dir . '/' . self::relative( $file ) : '';
     434                        $file     = $original && is_file( $original ) ? $original : $file;
     435                }
    429436                $image = $file && is_file( $file ) ? self::load( $file, (string) wp_get_image_mime( $file ) ) : false;
    430437                if ( ! $image ) {
  • reinvent-watermark/trunk/readme.txt

    r3794347 r3797751  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.0.4
     7Stable tag: 1.0.5
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    107107== Changelog ==
    108108
     109= 1.0.5 =
     110* Fixed: the live preview of an image that already has a watermark showed the old mark next to the new one. It now previews on the kept original, the same way a re-apply draws.
     111
    109112= 1.0.4 =
    110113* The settings page now sends a short site report (site address, your email, plugin version and settings) to help us improve the plugin and debug reported errors. See External services in the readme.
  • reinvent-watermark/trunk/reinvent-watermark.php

    r3794347 r3797751  
    44 * Plugin URI:        https://wordpress.org/plugins/reinvent-watermark
    55 * Description:       Add a text or logo watermark to your images on upload or in bulk, and remove it any time: the original is always kept.
    6  * Version:           1.0.4
     6 * Version:           1.0.5
    77 * Requires at least: 6.2
    88 * Requires PHP:      7.4
    … …  
    2020}
    2121
    22 define( 'RWPWM_VERSION', '1.0.4' );
     22define( 'RWPWM_VERSION', '1.0.5' );
    2323define( 'RWPWM_FILE', __FILE__ );
    2424define( 'RWPWM_DIR', plugin_dir_path( __FILE__ ) );
Note: See TracChangeset for help on using the changeset viewer.