Quick Featured Images - Version 12.3.2

Version Description

  • Fixed missing loading of Javascript media API on Preset Default Images page
Download this release

Release Info

Developer Hinjiriyo
Plugin Icon 128x128 Quick Featured Images
Version 12.3.2
Comparing to
See all releases

Code changes from version 12.3.1 to 12.3.2

README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: audios, author, categories, custom post types, custom taxonomies, date, featured images, filter, image size, nextgen, remove, taxonomies, thumbnails, videos, posts, pages
5
  Requires at least: 3.8
6
  Tested up to: 4.7.3
7
- Stable tag: 12.3.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -278,6 +278,9 @@ If you want to contribute a translation of the plugin in your language it would
278
 
279
  == Changelog ==
280
 
 
 
 
281
  = 12.3.1 =
282
  * Fixed missing loading of Javascript media API on post edit pages
283
  * Fixed a typo, revised translations
@@ -412,8 +415,11 @@ Added spanish translation for the main texts of the plugin
412
 
413
  == Upgrade Notice ==
414
 
 
 
 
415
  = 12.3.1 =
416
- Fixed missing wp_enqueue_media(), fixed typo
417
 
418
  = 12.3 =
419
  Faster image check, media library dialog box to select the replacement images, updated translations
4
  Tags: audios, author, categories, custom post types, custom taxonomies, date, featured images, filter, image size, nextgen, remove, taxonomies, thumbnails, videos, posts, pages
5
  Requires at least: 3.8
6
  Tested up to: 4.7.3
7
+ Stable tag: 12.3.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
278
 
279
  == Changelog ==
280
 
281
+ = 12.3.2 =
282
+ * Fixed missing loading of Javascript media API on Preset Default Images page
283
+
284
  = 12.3.1 =
285
  * Fixed missing loading of Javascript media API on post edit pages
286
  * Fixed a typo, revised translations
415
 
416
  == Upgrade Notice ==
417
 
418
+ = 12.3.2 =
419
+ Fixed missing wp_enqueue_media() in Presets
420
+
421
  = 12.3.1 =
422
+ Fixed missing wp_enqueue_media() for featured image column, fixed typo
423
 
424
  = 12.3 =
425
  Faster image check, media library dialog box to select the replacement images, updated translations
admin/class-quick-featured-images-admin.php CHANGED
@@ -19,7 +19,7 @@
19
  *
20
  * @var string
21
  */
22
- protected $plugin_version = '12.3.1';
23
 
24
  /**
25
  * Instance of this class.
19
  *
20
  * @var string
21
  */
22
+ protected $plugin_version = '12.3.2';
23
 
24
  /**
25
  * Instance of this class.
admin/class-quick-featured-images-columns.php CHANGED
@@ -217,7 +217,7 @@ class Quick_Featured_Images_Columns {
217
  );
218
  wp_localize_script( $handle, 'qfi_i18n', $translations );
219
 
220
- // Enqueues all scripts, styles, settings, and templates necessary to use all media JavaScript APIs
221
  wp_enqueue_media();
222
 
223
  }
217
  );
218
  wp_localize_script( $handle, 'qfi_i18n', $translations );
219
 
220
+ // Enqueue all stuff to use media API, requires at least WP 3.5
221
  wp_enqueue_media();
222
 
223
  }
admin/class-quick-featured-images-defaults.php CHANGED
@@ -323,7 +323,10 @@ class Quick_Featured_Images_Defaults {
323
  /* collect js for the color picker */
324
  $screen = get_current_screen();
325
  if ( $this->plugin_screen_hook_suffix == $screen->id ) {
 
326
  wp_enqueue_script( $this->plugin_slug . '-admin-script', plugins_url( 'assets/js/admin-defaults.js', __FILE__ ), array( 'jquery' ), $this->plugin_version );
 
 
327
  }
328
  }
329
 
323
  /* collect js for the color picker */
324
  $screen = get_current_screen();
325
  if ( $this->plugin_screen_hook_suffix == $screen->id ) {
326
+ // load script
327
  wp_enqueue_script( $this->plugin_slug . '-admin-script', plugins_url( 'assets/js/admin-defaults.js', __FILE__ ), array( 'jquery' ), $this->plugin_version );
328
+ // Enqueue all stuff to use media API, requires at least WP 3.5
329
+ wp_enqueue_media();
330
  }
331
  }
332
 
admin/class-quick-featured-images-tools.php CHANGED
@@ -1915,12 +1915,9 @@ class Quick_Featured_Images_Tools { // only for debugging: extends Quick_Feature
1915
 
1916
  $screen = get_current_screen();
1917
  if ( $this->plugin_screen_hook_suffix == $screen->id ) {
 
1918
  wp_enqueue_script( $this->plugin_slug . '-admin-script', plugins_url( 'assets/js/admin.js', __FILE__ ), array( 'jquery' ), $this->plugin_version );
1919
- /*
1920
- * Enqueue all stuff to use media API
1921
- *
1922
- * requires at least WP 3.5
1923
- */
1924
  wp_enqueue_media();
1925
  }
1926
 
1915
 
1916
  $screen = get_current_screen();
1917
  if ( $this->plugin_screen_hook_suffix == $screen->id ) {
1918
+ // load script
1919
  wp_enqueue_script( $this->plugin_slug . '-admin-script', plugins_url( 'assets/js/admin.js', __FILE__ ), array( 'jquery' ), $this->plugin_version );
1920
+ // Enqueue all stuff to use media API, requires at least WP 3.5
 
 
 
 
1921
  wp_enqueue_media();
1922
  }
1923
 
quick-featured-images.php CHANGED
@@ -10,7 +10,7 @@
10
  * Plugin Name: Quick Featured Images
11
  * Plugin URI: http://wordpress.org/plugins/quick-featured-images
12
  * Description: Your time-saving Swiss Army Knife for featured images: Set, replace and delete them in bulk, in posts lists and set default images for future posts.
13
- * Version: 12.3.1
14
  * Author: Martin Stehle
15
  * Author URI: http://stehle-internet.de
16
  * Text Domain: quick-featured-images
10
  * Plugin Name: Quick Featured Images
11
  * Plugin URI: http://wordpress.org/plugins/quick-featured-images
12
  * Description: Your time-saving Swiss Army Knife for featured images: Set, replace and delete them in bulk, in posts lists and set default images for future posts.
13
+ * Version: 12.3.2
14
  * Author: Martin Stehle
15
  * Author URI: http://stehle-internet.de
16
  * Text Domain: quick-featured-images