Version Description
- Fixed incorrect detection of post type name for the result list
Download this release
Release Info
Developer | Hinjiriyo |
Plugin | Quick Featured Images |
Version | 13.2.2 |
Comparing to | |
See all releases |
Code changes from version 13.2.1 to 13.2.2
- README.txt +7 -1
- admin/class-quick-featured-images-admin.php +1 -1
- admin/views/form_confirm.php +2 -3
- quick-featured-images.php +1 -1
README.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: categories, images, featured images, filter, random, remove, replace, thumbnails, posts, pages, tags
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.8.1
|
7 |
-
Stable tag: 13.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -284,6 +284,9 @@ If you want to contribute a translation of the plugin in your language it would
|
|
284 |
|
285 |
== Changelog ==
|
286 |
|
|
|
|
|
|
|
287 |
= 13.2.1 =
|
288 |
* Improved in Presets: Image paths starting with '/' will be considered
|
289 |
* Tested successfully with WordPress 4.8.1
|
@@ -464,6 +467,9 @@ Added spanish translation for the main texts of the plugin
|
|
464 |
|
465 |
== Upgrade Notice ==
|
466 |
|
|
|
|
|
|
|
467 |
= 13.2.1 =
|
468 |
In Presets image paths starting with / will be considered, tested with WP 4.8.1
|
469 |
|
4 |
Tags: categories, images, featured images, filter, random, remove, replace, thumbnails, posts, pages, tags
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.8.1
|
7 |
+
Stable tag: 13.2.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
284 |
|
285 |
== Changelog ==
|
286 |
|
287 |
+
= 13.2.2 =
|
288 |
+
* Fixed incorrect detection of post type name for the result list
|
289 |
+
|
290 |
= 13.2.1 =
|
291 |
* Improved in Presets: Image paths starting with '/' will be considered
|
292 |
* Tested successfully with WordPress 4.8.1
|
467 |
|
468 |
== Upgrade Notice ==
|
469 |
|
470 |
+
= 13.2.2 =
|
471 |
+
Fixed incorrect detection of post type name for the result list
|
472 |
+
|
473 |
= 13.2.1 =
|
474 |
In Presets image paths starting with / will be considered, tested with WP 4.8.1
|
475 |
|
admin/class-quick-featured-images-admin.php
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
*
|
20 |
* @var string
|
21 |
*/
|
22 |
-
protected $plugin_version = '13.2.
|
23 |
|
24 |
/**
|
25 |
* Instance of this class.
|
19 |
*
|
20 |
* @var string
|
21 |
*/
|
22 |
+
protected $plugin_version = '13.2.2';
|
23 |
|
24 |
/**
|
25 |
* Instance of this class.
|
admin/views/form_confirm.php
CHANGED
@@ -74,11 +74,10 @@ if ( $results ) {
|
|
74 |
// post author
|
75 |
$post_author = sprintf( '%s %s', $label_by, esc_html( $result[ 3 ] ) );
|
76 |
// post type label
|
|
|
77 |
$post_type_obj = get_post_type_object( $post_type );
|
78 |
if ( $post_type_obj ) {
|
79 |
-
$post_type =
|
80 |
-
} else {
|
81 |
-
$post_type = esc_html( $result[ 7 ] );
|
82 |
}
|
83 |
// post status
|
84 |
$post_status = isset( $this->valid_statuses[ $result[ 6 ] ] ) ? $this->valid_statuses[ $result[ 6 ] ] : $result[ 6 ];
|
74 |
// post author
|
75 |
$post_author = sprintf( '%s %s', $label_by, esc_html( $result[ 3 ] ) );
|
76 |
// post type label
|
77 |
+
$post_type = $result[ 7 ];
|
78 |
$post_type_obj = get_post_type_object( $post_type );
|
79 |
if ( $post_type_obj ) {
|
80 |
+
$post_type = $post_type_obj->labels->singular_name; // readable name
|
|
|
|
|
81 |
}
|
82 |
// post status
|
83 |
$post_status = isset( $this->valid_statuses[ $result[ 6 ] ] ) ? $this->valid_statuses[ $result[ 6 ] ] : $result[ 6 ];
|
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: 13.2.
|
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: 13.2.2
|
14 |
* Author: Martin Stehle
|
15 |
* Author URI: http://stehle-internet.de
|
16 |
* Text Domain: quick-featured-images
|