Changeset 3797751
- Timestamp:
- 11/12/2026 08:13:23 AM (less than one hour ago)
- Location:
- reinvent-watermark/trunk
- Files:
-
- 3 edited
-
includes/class-rwpwm-engine.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
reinvent-watermark.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
reinvent-watermark/trunk/includes/class-rwpwm-engine.php
r3790838 r3797751 427 427 $file = is_file( $large ) ? $large : $file; 428 428 } 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 } 429 436 $image = $file && is_file( $file ) ? self::load( $file, (string) wp_get_image_mime( $file ) ) : false; 430 437 if ( ! $image ) { -
reinvent-watermark/trunk/readme.txt
r3794347 r3797751 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 1.0. 47 Stable tag: 1.0.5 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 107 107 == Changelog == 108 108 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 109 112 = 1.0.4 = 110 113 * 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 4 4 * Plugin URI: https://wordpress.org/plugins/reinvent-watermark 5 5 * 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. 46 * Version: 1.0.5 7 7 * Requires at least: 6.2 8 8 * Requires PHP: 7.4 … … 20 20 } 21 21 22 define( 'RWPWM_VERSION', '1.0. 4' );22 define( 'RWPWM_VERSION', '1.0.5' ); 23 23 define( 'RWPWM_FILE', __FILE__ ); 24 24 define( 'RWPWM_DIR', plugin_dir_path( __FILE__ ) );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)