Changeset 982765
- Timestamp:
- 09/06/2014 06:32:05 AM (12 years ago)
- Location:
- post-thumbnail-extras/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (1 diff)
-
php/shortcode.php (modified) (1 diff)
-
post-thumbnail-extras.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
post-thumbnail-extras/trunk/README.txt
r981033 r982765 4 4 Tags: post-thumbnail, post thumbnail, featured image, awesome, media library, shortcode, shortcodes 5 5 Requires at least: 2.5 6 Tested up to: 4.0 .x6 Tested up to: 4.0 7 7 Stable tag: trunk 8 8 License: GPLv2 -
post-thumbnail-extras/trunk/php/shortcode.php
r709027 r982765 74 74 */ 75 75 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']; 80 79 } 81 80 } -
post-thumbnail-extras/trunk/post-thumbnail-extras.php
r821624 r982765 5 5 Author: sewpafly 6 6 Author URI: http://sewpafly.github.io/post-thumbnail-editor/ 7 Version: 5. 07 Version: 5.1 8 8 Description: Little things that make using post thumbnails easier 9 9 */
Note: See TracChangeset
for help on using the changeset viewer.