Version Description
- Added in image column: Link to the edit page of the displayed image
- Updated screenshot
Download this release
Release Info
Developer | Hinjiriyo |
Plugin | Quick Featured Images |
Version | 11.3 |
Comparing to | |
See all releases |
Code changes from version 11.2 to 11.3
README.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: add, assign, associate, attach, attachment, attachments, audio, audios, author, auto, automatic, batch, bulk, categories, category, change, column, control, custom post type, custom post types, custom taxonomies, custom taxonomy, date, dates, default, define, delete, detach, exchange, featured, featured image, featured images, filter, gallery, galleries, image, image size, images, mass, media, mime, multimedia, nextgen, pages, parent page, period, post type, post types, posts, quick, random, rapid, remove, replace, rules, search, set, standard, tag, taxonomies, taxonomy, thumb, thumbnail, thumbnails, thumbs, time, unset, update, user, video, videos
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.2.2
|
7 |
-
Stable tag: 11.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -63,10 +63,11 @@ If you want to use the option to **remove the first image in the content** then
|
|
63 |
The **premium version** offers you several approaches for **setting the first image as featured**:
|
64 |
|
65 |
1. **the first post image** if available in the media library
|
66 |
-
2. **the first
|
67 |
-
3. **the first
|
68 |
-
4. **the first image of a
|
69 |
-
5. **the first image of a
|
|
|
70 |
|
71 |
The **premium version** offers you two more options if you selected multiple images to set them as featured images in random order:
|
72 |
|
@@ -258,12 +259,17 @@ If you want to contribute a translation of the plugin in your language it would
|
|
258 |
|
259 |
== Changelog ==
|
260 |
|
|
|
|
|
|
|
|
|
261 |
= 11.2 =
|
262 |
* Fixed in 'Set, replace, remove': invalid thumbnail IDs will be ignored
|
263 |
* Fixed in 'Set, replace, remove': Added missing 'break' in switch()
|
264 |
* Fixed in 'Set, replace, remove': Post Type Filter founded always posts and pages
|
265 |
* Fixed broken bulk assign link at each image in the media library
|
266 |
* Premium version: Added option in 'Set, replace, remove': Take the first post image from current site domain
|
|
|
267 |
|
268 |
= 11.1 =
|
269 |
* Fixed bug which yielded the error message "No matches found" at the Confirmation step
|
@@ -485,6 +491,9 @@ Fixed an insufficient security check which prevented to set a featured image
|
|
485 |
|
486 |
== Upgrade Notice ==
|
487 |
|
|
|
|
|
|
|
488 |
= 11.2 =
|
489 |
Fixed bugs
|
490 |
|
4 |
Tags: add, assign, associate, attach, attachment, attachments, audio, audios, author, auto, automatic, batch, bulk, categories, category, change, column, control, custom post type, custom post types, custom taxonomies, custom taxonomy, date, dates, default, define, delete, detach, exchange, featured, featured image, featured images, filter, gallery, galleries, image, image size, images, mass, media, mime, multimedia, nextgen, pages, parent page, period, post type, post types, posts, quick, random, rapid, remove, replace, rules, search, set, standard, tag, taxonomies, taxonomy, thumb, thumbnail, thumbnails, thumbs, time, unset, update, user, video, videos
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.2.2
|
7 |
+
Stable tag: 11.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
63 |
The **premium version** offers you several approaches for **setting the first image as featured**:
|
64 |
|
65 |
1. **the first post image** if available in the media library
|
66 |
+
2. **the first post image from the current site domain**, copy and add it to the media library if not available there
|
67 |
+
3. **the first external post image**, download it and add it to the media library
|
68 |
+
4. **the first attached image of a post**
|
69 |
+
5. **the first image of a WordPress standard gallery**
|
70 |
+
6. **the first image of a NextGen Gallery**.
|
71 |
|
72 |
The **premium version** offers you two more options if you selected multiple images to set them as featured images in random order:
|
73 |
|
259 |
|
260 |
== Changelog ==
|
261 |
|
262 |
+
= 11.3 =
|
263 |
+
* Added in image column: Link to the edit page of the displayed image
|
264 |
+
* Updated screenshot
|
265 |
+
|
266 |
= 11.2 =
|
267 |
* Fixed in 'Set, replace, remove': invalid thumbnail IDs will be ignored
|
268 |
* Fixed in 'Set, replace, remove': Added missing 'break' in switch()
|
269 |
* Fixed in 'Set, replace, remove': Post Type Filter founded always posts and pages
|
270 |
* Fixed broken bulk assign link at each image in the media library
|
271 |
* Premium version: Added option in 'Set, replace, remove': Take the first post image from current site domain
|
272 |
+
* Updated *.pot file and german translation
|
273 |
|
274 |
= 11.1 =
|
275 |
* Fixed bug which yielded the error message "No matches found" at the Confirmation step
|
491 |
|
492 |
== Upgrade Notice ==
|
493 |
|
494 |
+
= 11.3 =
|
495 |
+
Added image edit link
|
496 |
+
|
497 |
= 11.2 =
|
498 |
Fixed bugs
|
499 |
|
admin/class-quick-featured-images-admin.php
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
*
|
20 |
* @var string
|
21 |
*/
|
22 |
-
protected $plugin_version = '11.
|
23 |
|
24 |
/**
|
25 |
* Instance of this class.
|
19 |
*
|
20 |
* @var string
|
21 |
*/
|
22 |
+
protected $plugin_version = '11.3';
|
23 |
|
24 |
/**
|
25 |
* Instance of this class.
|
admin/class-quick-featured-images-columns.php
CHANGED
@@ -228,7 +228,6 @@ class Quick_Featured_Images_Columns {
|
|
228 |
* Print the featured image in the column
|
229 |
*
|
230 |
* @since 7.0
|
231 |
-
* @updated 9.1: revised label text for WP 4.1
|
232 |
*
|
233 |
* @return array extended list of columns
|
234 |
*/
|
@@ -249,12 +248,31 @@ class Quick_Featured_Images_Columns {
|
|
249 |
$thumbnail_id = get_post_thumbnail_id( $post_id );
|
250 |
// image from gallery
|
251 |
if ( $thumbnail_id ) {
|
252 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
253 |
} else {
|
254 |
$text = 'No image set';
|
255 |
echo __( $text );
|
256 |
-
}
|
257 |
-
}
|
258 |
}
|
259 |
|
260 |
/**
|
228 |
* Print the featured image in the column
|
229 |
*
|
230 |
* @since 7.0
|
|
|
231 |
*
|
232 |
* @return array extended list of columns
|
233 |
*/
|
248 |
$thumbnail_id = get_post_thumbnail_id( $post_id );
|
249 |
// image from gallery
|
250 |
if ( $thumbnail_id ) {
|
251 |
+
if ( $thumb = wp_get_attachment_image( $thumbnail_id, array( $width, $height ) ) ) {
|
252 |
+
if ( current_user_can( 'edit_post', $thumbnail_id ) ) {
|
253 |
+
$label_title = 'Edit “%s”';
|
254 |
+
$label_link = 'Edit Image';
|
255 |
+
printf(
|
256 |
+
'<a href="%s" title="%s">%s<br />%s</a>',
|
257 |
+
get_edit_post_link( $thumbnail_id ),
|
258 |
+
esc_attr(
|
259 |
+
sprintf(
|
260 |
+
__( $label_title ),
|
261 |
+
_draft_or_post_title( $thumbnail_id )
|
262 |
+
)
|
263 |
+
),
|
264 |
+
$thumb,
|
265 |
+
__( $label_link )
|
266 |
+
);
|
267 |
+
} else {
|
268 |
+
echo $thumb;
|
269 |
+
} // if user can edit
|
270 |
+
} // if thumb
|
271 |
} else {
|
272 |
$text = 'No image set';
|
273 |
echo __( $text );
|
274 |
+
} // if thumbnail_id
|
275 |
+
} // if this column name == column_name
|
276 |
}
|
277 |
|
278 |
/**
|
admin/class-quick-featured-images-tools.php
CHANGED
@@ -7,8 +7,7 @@
|
|
7 |
* @copyright 2014 Martin Stehle
|
8 |
*/
|
9 |
|
10 |
-
class Quick_Featured_Images_Tools
|
11 |
-
#class Quick_Featured_Images_Tools { // only for debugging: extends Quick_Featured_Images_Base {
|
12 |
|
13 |
/**
|
14 |
* Instance of this class.
|
7 |
* @copyright 2014 Martin Stehle
|
8 |
*/
|
9 |
|
10 |
+
class Quick_Featured_Images_Tools { // only for debugging: extends Quick_Featured_Images_Base {
|
|
|
11 |
|
12 |
/**
|
13 |
* Instance of this class.
|
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, set default images, get overview lists.
|
13 |
-
* Version: 11.
|
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, set default images, get overview lists.
|
13 |
+
* Version: 11.3
|
14 |
* Author: Martin Stehle
|
15 |
* Author URI: http://stehle-internet.de
|
16 |
* Text Domain: quick-featured-images
|