Plugin Directory

Changeset 982765


Ignore:
Timestamp:
09/06/2014 06:32:05 AM (12 years ago)
Author:
sewpafly
Message:

5.1 small bug fix

Location:
post-thumbnail-extras/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • post-thumbnail-extras/trunk/README.txt

    r981033 r982765  
    44Tags: post-thumbnail, post thumbnail, featured image, awesome, media library, shortcode, shortcodes
    55Requires at least: 2.5
    6 Tested up to: 4.0.x
     6Tested up to: 4.0
    77Stable tag: trunk
    88License: GPLv2
  • post-thumbnail-extras/trunk/php/shortcode.php

    r709027 r982765  
    7474     */
    7575    public function image_sizes ( $sizes ) {
    76         $potential_sizes = get_intermediate_image_sizes();
    77         foreach ( $potential_sizes as $size ) {
    78             if ( 'post-thumbnail' != $size && ! in_array( $size, $sizes ) ) {
    79                 $sizes[$size] = $size;
     76        if ( false !== $ptx_post_thumbnails = get_option( 'ptx_post_thumbnails' ) ) {
     77            foreach ( $ptx_post_thumbnails as $thumbnail ){
     78                $sizes[$thumbnail['name']] = $thumbnail['name'];
    8079            }
    8180        }
  • post-thumbnail-extras/trunk/post-thumbnail-extras.php

    r821624 r982765  
    55Author: sewpafly
    66Author URI: http://sewpafly.github.io/post-thumbnail-editor/
    7 Version: 5.0
     7Version: 5.1
    88Description: Little things that make using post thumbnails easier
    99*/
Note: See TracChangeset for help on using the changeset viewer.