Image Watermark - Version 1.7.2

Version Description

  • Fix: Missing admin-media.js file
Download this release

Release Info

Developer dfactory
Plugin Icon 128x128 Image Watermark
Version 1.7.2
Comparing to
See all releases

Code changes from version 1.7.1 to 1.7.2

Files changed (3) hide show
  1. image-watermark.php +3 -3
  2. js/admin-media.js +11 -0
  3. readme.txt +4 -1
image-watermark.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Image Watermark
4
  Description: Image Watermark allows you to automatically watermark images uploaded to the WordPress Media Library and bulk watermark previously uploaded images.
5
- Version: 1.7.1
6
  Author: dFactory
7
  Author URI: https://dfactory.eu/
8
  Plugin URI: https://dfactory.eu/plugins/image-watermark/
@@ -32,7 +32,7 @@ define( 'IMAGE_WATERMARK_PATH', plugin_dir_path( __FILE__ ) );
32
  * Image Watermark class.
33
  *
34
  * @class Image_Watermark
35
- * @version 1.7.1
36
  */
37
  final class Image_Watermark {
38
 
@@ -81,7 +81,7 @@ final class Image_Watermark {
81
  'backup_quality' => 90
82
  )
83
  ),
84
- 'version' => '1.7.1'
85
  );
86
  public $options = array();
87
 
2
  /*
3
  Plugin Name: Image Watermark
4
  Description: Image Watermark allows you to automatically watermark images uploaded to the WordPress Media Library and bulk watermark previously uploaded images.
5
+ Version: 1.7.2
6
  Author: dFactory
7
  Author URI: https://dfactory.eu/
8
  Plugin URI: https://dfactory.eu/plugins/image-watermark/
32
  * Image Watermark class.
33
  *
34
  * @class Image_Watermark
35
+ * @version 1.7.2
36
  */
37
  final class Image_Watermark {
38
 
81
  'backup_quality' => 90
82
  )
83
  ),
84
+ 'version' => '1.7.2'
85
  );
86
  public $options = array();
87
 
js/admin-media.js ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ ( function( $ ) {
2
+
3
+ // ready event
4
+ $( function() {
5
+ $( '<option>' ).val( 'applywatermark' ).text( iwMediaArgs.applyWatermark ).appendTo( 'select[name="action"], select[name="action2"]' );
6
+
7
+ if ( iwMediaArgs.backupImage === '1' )
8
+ $( '<option>' ).val( 'removewatermark' ).text( iwMediaArgs.removeWatermark ).appendTo( 'select[name="action"], select[name="action2"]' );
9
+ } );
10
+
11
+ } )( jQuery );
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: image, images, picture, photo, watermark, watermarking, protection, image
5
  Requires at least: 4.3
6
  Requires PHP: 5.4
7
  Tested up to: 6.0
8
- Stable tag: 1.7.1
9
  License: MIT License
10
  License URI: http://opensource.org/licenses/MIT
11
 
@@ -55,6 +55,9 @@ No questions yet.
55
 
56
  == Changelog ==
57
 
 
 
 
58
  = 1.7.1 =
59
  * Fix: Watermark option not available in Media Library
60
 
5
  Requires at least: 4.3
6
  Requires PHP: 5.4
7
  Tested up to: 6.0
8
+ Stable tag: 1.7.2
9
  License: MIT License
10
  License URI: http://opensource.org/licenses/MIT
11
 
55
 
56
  == Changelog ==
57
 
58
+ = 1.7.2 =
59
+ * Fix: Missing admin-media.js file
60
+
61
  = 1.7.1 =
62
  * Fix: Watermark option not available in Media Library
63