Crop-Thumbnails - Version 0.10.8

Version Description

  • change empty-array-definition to be compatible with old PHP-Versions (prior 5.4)
Download this release

Release Info

Developer Volkmar Kantor
Plugin Icon Crop-Thumbnails
Version 0.10.8
Comparing to
See all releases

Code changes from version 0.10.7 to 0.10.8

Files changed (3) hide show
  1. crop-thumbnails.php +2 -2
  2. functions/settings.php +1 -1
  3. readme.txt +3 -0
crop-thumbnails.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: http://wordpress.org/extend/plugins/crop-thumbnails/
5
  * Author: Volkmar Kantor
6
  * Author URI: http://www.totalmedial.de
7
- * Version: 0.10.7
8
  * Description: Crop your thumbnails, the easy way.
9
  * Text Domain: crop-thumbnails
10
  *
@@ -27,7 +27,7 @@
27
 
28
  //cpt - stands for crop-post-thumbnail
29
  define('CROP_THUMBS_LANG','cpt_lang');
30
- define('CROP_THUMBS_VERSION','0.10.7');
31
 
32
  function cpt_plugin_init() {
33
  load_plugin_textdomain( CROP_THUMBS_LANG, false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' );
4
  * Plugin URI: http://wordpress.org/extend/plugins/crop-thumbnails/
5
  * Author: Volkmar Kantor
6
  * Author URI: http://www.totalmedial.de
7
+ * Version: 0.10.8
8
  * Description: Crop your thumbnails, the easy way.
9
  * Text Domain: crop-thumbnails
10
  *
27
 
28
  //cpt - stands for crop-post-thumbnail
29
  define('CROP_THUMBS_LANG','cpt_lang');
30
+ define('CROP_THUMBS_VERSION','0.10.8');
31
 
32
  function cpt_plugin_init() {
33
  load_plugin_textdomain( CROP_THUMBS_LANG, false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' );
functions/settings.php CHANGED
@@ -243,7 +243,7 @@ class CropThumbnailsSettings {
243
  if(!current_user_can('manage_options')) die('forbidden');
244
  check_ajax_referer('cpt_quicktest-ajax-nonce','security');//only for quicktest
245
 
246
- $report = [];
247
  $doDeleteAttachement = false;
248
  $doDeleteTempFile = false;
249
  $attachmentId = -1;
243
  if(!current_user_can('manage_options')) die('forbidden');
244
  check_ajax_referer('cpt_quicktest-ajax-nonce','security');//only for quicktest
245
 
246
+ $report = array();
247
  $doDeleteAttachement = false;
248
  $doDeleteTempFile = false;
249
  $attachmentId = -1;
readme.txt CHANGED
@@ -120,6 +120,9 @@ If you fork and planning to publish the forked plugin, please contact me.
120
  6. Quicktest on settings-page, to check if your system is correct setup.
121
 
122
  == Changelog ==
 
 
 
123
  = 0.10.7 =
124
  * fix a behaviour where the 'image_size_names_choose'-filter could remove image-sizes from the settings page
125
  * add a seperate filter 'crop_thumbnails_image_sizes' to remove/adjust image-sizes used by the plugin (use carefully)
120
  6. Quicktest on settings-page, to check if your system is correct setup.
121
 
122
  == Changelog ==
123
+ = 0.10.8 =
124
+ * change empty-array-definition to be compatible with old PHP-Versions (prior 5.4)
125
+
126
  = 0.10.7 =
127
  * fix a behaviour where the 'image_size_names_choose'-filter could remove image-sizes from the settings page
128
  * add a seperate filter 'crop_thumbnails_image_sizes' to remove/adjust image-sizes used by the plugin (use carefully)