Quick Featured Images - Version 12.3.5

Version Description

  • Fixed outdated (pre WP 4.8) texts for WP 4.8
  • Tested successfully with WordPress 4.8
Download this release

Release Info

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

Code changes from version 12.3.4 to 12.3.5

README.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Hinjiriyo
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2KUW27NECWVWJ
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.4
7
- Stable tag: 12.3.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -278,6 +278,10 @@ If you want to contribute a translation of the plugin in your language it would
278
 
279
  == Changelog ==
280
 
 
 
 
 
281
  = 12.3.4 =
282
  * Fixed minor errors for SVG support
283
  * Tested successfully with WordPress 4.7.4
@@ -422,6 +426,9 @@ Added spanish translation for the main texts of the plugin
422
 
423
  == Upgrade Notice ==
424
 
 
 
 
425
  = 12.3.4 =
426
  Fixed minor errors for SVG support, tested with WP 4.7.4
427
 
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2KUW27NECWVWJ
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.8
7
+ Stable tag: 12.3.5
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.5 =
282
+ * Fixed outdated (pre WP 4.8) texts for WP 4.8
283
+ * Tested successfully with WordPress 4.8
284
+
285
  = 12.3.4 =
286
  * Fixed minor errors for SVG support
287
  * Tested successfully with WordPress 4.7.4
426
 
427
  == Upgrade Notice ==
428
 
429
+ = 12.3.5 =
430
+ Fixed outdated (pre WP 4.8) texts for WP 4.8, tested with WP 4.8
431
+
432
  = 12.3.4 =
433
  Fixed minor errors for SVG support, tested with WP 4.7.4
434
 
admin/class-quick-featured-images-admin.php CHANGED
@@ -19,7 +19,7 @@
19
  *
20
  * @var string
21
  */
22
- protected $plugin_version = '12.3.4';
23
 
24
  /**
25
  * Instance of this class.
19
  *
20
  * @var string
21
  */
22
+ protected $plugin_version = '12.3.5';
23
 
24
  /**
25
  * Instance of this class.
admin/class-quick-featured-images-columns.php CHANGED
@@ -247,7 +247,7 @@ class Quick_Featured_Images_Columns {
247
  */
248
  public function add_thumbnail_column( $cols ) {
249
  $text = 'Featured Image';
250
- $cols[ $this->column_name ] = __( $text );
251
  return $cols;
252
  }
253
 
@@ -320,7 +320,7 @@ class Quick_Featured_Images_Columns {
320
  '<br><a href="#" id="qfi_delete_%d" class="qfi_delete_fi hide-if-no-js" title="%s">%s</a>',
321
  $post_id,
322
  esc_attr( sprintf( $link_title, $thumb_title ) ),
323
- __( $link_text )
324
  );
325
  } else {
326
  // if no edit capatibilities show image only
@@ -337,7 +337,7 @@ class Quick_Featured_Images_Columns {
337
  esc_url( get_upload_iframe_src( 'image', $post_id ) ),
338
  $post_id,
339
  esc_attr( sprintf( __( 'Set image for &#8220;%s&#8221;', 'quick-featured-images' ), _draft_or_post_title( $post_id ) ) ),
340
- __( $text )
341
  );
342
  } // if user may
343
  } // if thumbnail_id
@@ -416,7 +416,7 @@ class Quick_Featured_Images_Columns {
416
  'title_edit' => __( $title_edit ),
417
  'text_change' => __( $text_change ),
418
  'text_edit' => __( $text_edit ),
419
- 'text_remove' => __( $text_remove ),
420
  );
421
 
422
  /*
@@ -482,7 +482,7 @@ class Quick_Featured_Images_Columns {
482
  $text_deleted = 'Item deleted.';
483
  $translations = array(
484
  'title_set' => __( 'Set image for &#8220;%s&#8221;', 'quick-featured-images' ),
485
- 'text_set' => __( $text_set ),
486
  'text_deleted' => __( $text_deleted ),
487
  );
488
 
247
  */
248
  public function add_thumbnail_column( $cols ) {
249
  $text = 'Featured Image';
250
+ $cols[ $this->column_name ] = _x( $text, 'post' );
251
  return $cols;
252
  }
253
 
320
  '<br><a href="#" id="qfi_delete_%d" class="qfi_delete_fi hide-if-no-js" title="%s">%s</a>',
321
  $post_id,
322
  esc_attr( sprintf( $link_title, $thumb_title ) ),
323
+ _x( $link_text, 'post' )
324
  );
325
  } else {
326
  // if no edit capatibilities show image only
337
  esc_url( get_upload_iframe_src( 'image', $post_id ) ),
338
  $post_id,
339
  esc_attr( sprintf( __( 'Set image for &#8220;%s&#8221;', 'quick-featured-images' ), _draft_or_post_title( $post_id ) ) ),
340
+ _x( $text, 'post' )
341
  );
342
  } // if user may
343
  } // if thumbnail_id
416
  'title_edit' => __( $title_edit ),
417
  'text_change' => __( $text_change ),
418
  'text_edit' => __( $text_edit ),
419
+ 'text_remove' => _x( $text_remove, 'post' ),
420
  );
421
 
422
  /*
482
  $text_deleted = 'Item deleted.';
483
  $translations = array(
484
  'title_set' => __( 'Set image for &#8220;%s&#8221;', 'quick-featured-images' ),
485
+ 'text_set' => _x( $text_set, 'post' ),
486
  'text_deleted' => __( $text_deleted ),
487
  );
488
 
admin/views/form_start.php CHANGED
@@ -53,7 +53,7 @@ if ( $this->selected_image_id ) {
53
  }
54
  ?>
55
  <input type="hidden" id="image_id" name="image_id" value="<?php echo $this->selected_image_id; ?>">
56
- <img id="selected_image" src="<?php echo $img_url; ?>" alt="<?php $text = 'Featured Image'; _e( $text ); ?>" class="<?php echo $img_class; ?>" style="<?php echo $img_style; ?>" /><br />
57
  <input type="button" id="upload_image_button" class="button qfi_select_image" value="<?php _e( 'Choose Image', 'quick-featured-images' ); ?>" />
58
  </p>
59
  </div>
53
  }
54
  ?>
55
  <input type="hidden" id="image_id" name="image_id" value="<?php echo $this->selected_image_id; ?>">
56
+ <img id="selected_image" src="<?php echo $img_url; ?>" alt="<?php $text = 'Featured Image'; echo _x( $text, 'post' ); ?>" class="<?php echo $img_class; ?>" style="<?php echo $img_style; ?>" /><br />
57
  <input type="button" id="upload_image_button" class="button qfi_select_image" value="<?php _e( 'Choose Image', 'quick-featured-images' ); ?>" />
58
  </p>
59
  </div>
admin/views/section_defaults.php CHANGED
@@ -36,7 +36,7 @@ $user_label = __( $text );
36
  $text = '&mdash; Select &mdash;';
37
  $first_option_label = __( $text );
38
  $text = 'Featured Image';
39
- $feat_img_label = __( $text );
40
  $text = 'Category';
41
  $category_label = _x( $text, 'taxonomy singular name' );
42
  $text = 'Tag';
36
  $text = '&mdash; Select &mdash;';
37
  $first_option_label = __( $text );
38
  $text = 'Featured Image';
39
+ $feat_img_label = _x( $text, 'post' );
40
  $text = 'Category';
41
  $category_label = _x( $text, 'taxonomy singular name' );
42
  $text = 'Tag';
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.4
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.5
14
  * Author: Martin Stehle
15
  * Author URI: http://stehle-internet.de
16
  * Text Domain: quick-featured-images