Image Watermark - Version 1.5.4

Version Description

  • Fix: Use of undefined constant DOING_AJAX
Download this release

Release Info

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

Code changes from version 1.5.3.1 to 1.5.4

Files changed (2) hide show
  1. image-watermark.php +4 -4
  2. readme.txt +8 -5
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.5.3
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.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.5.3
36
  */
37
  final class Image_Watermark {
38
 
@@ -76,7 +76,7 @@ final class Image_Watermark {
76
  'forlogged' => 0,
77
  ),
78
  ),
79
- 'version' => '1.5.3'
80
  );
81
  public $options = array();
82
 
@@ -281,7 +281,7 @@ final class Image_Watermark {
281
  // is extension available?
282
  if ( $this->extension ) {
283
  // admin
284
- if ( is_admin() && ! ( defined( 'DOING_AJAX' && DOING_AJAX ) ) ) {
285
 
286
  $this->is_admin = true;
287
 
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.5.4
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/image-watermark/
32
  * Image Watermark class.
33
  *
34
  * @class Image_Watermark
35
+ * @version 1.5.4
36
  */
37
  final class Image_Watermark {
38
 
76
  'forlogged' => 0,
77
  ),
78
  ),
79
+ 'version' => '1.5.4'
80
  );
81
  public $options = array();
82
 
281
  // is extension available?
282
  if ( $this->extension ) {
283
  // admin
284
+ if ( is_admin() && ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
285
 
286
  $this->is_admin = true;
287
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: dfactory
3
  Donate link: http://www.dfactory.eu/
4
  Tags: image, images, picture, photo, watermark, watermarking, protection, image protection, image security, plugin
5
  Requires at least: 3.5
6
- Tested up to: 4.5
7
- Stable tag: 1.5.3.1
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
@@ -62,7 +62,10 @@ No questions yet.
62
 
63
  == Changelog ==
64
 
65
- = 1.5.3.1 =
 
 
 
66
  * New: ImageMagic support
67
 
68
  = 1.5.2 =
@@ -154,5 +157,5 @@ Initial release
154
 
155
  == Upgrade Notice ==
156
 
157
- = 1.5.3.1 =
158
- * New: ImageMagic support
3
  Donate link: http://www.dfactory.eu/
4
  Tags: image, images, picture, photo, watermark, watermarking, protection, image protection, image security, plugin
5
  Requires at least: 3.5
6
+ Tested up to: 4.5.1
7
+ Stable tag: 1.5.4
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
62
 
63
  == Changelog ==
64
 
65
+ = 1.5.4 =
66
+ * Fix: Use of undefined constant DOING_AJAX
67
+
68
+ = 1.5.3 =
69
  * New: ImageMagic support
70
 
71
  = 1.5.2 =
157
 
158
  == Upgrade Notice ==
159
 
160
+ = 1.5.4 =
161
+ * Fix: Use of undefined constant DOING_AJAX