WordPress.org

Plugin Directory

Changeset 348389


Ignore:
Timestamp:
02/20/11 23:50:59 (7 years ago)
Author:
beingzoe
Message:

Updating trunk to version 0.1.4
Fixed bug preventing WordPress default sizes from resizing unless a custom size was added first.

Location:
additional-image-sizes-zui/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • additional-image-sizes-zui/trunk/README.txt

    r348328 r348389  
    55Requires at least: 3.0 
    66Tested up to: 3.0.5 
    7 Stable tag: 0.1.3 
     7Stable tag: 0.1.4 
    88 
    99Create additional image sizes for your WordPress site/blog as well resize the predefined WordPress sizes. 
     
    7171== Frequently Asked Questions == 
    7272 
    73 None yet! 
     73= Is there a way to automate the creation of new image sizes instead of doing batches manually? = 
     74 
     75We are looking into this. The problem is that once this script starts running it is incredibly taxing 
     76on the server. It would be inappropriate to let this script run for very long especially on shared hosting. 
     77 
     78However because of our fabulous tester Ami who has over 23,000 images on a particular server we are 
     79looking into options to make the creation of new sizes less time consuming. 
    7480 
    7581 
     82== Upgrade Notice == 
     83 
     84= 0.1.4 = 
     85 
     86Minor/Major bug fixed (depending on how you look at it ;) preventing WordPress sizes from resizing unless a custom size was added. 
     87 
     88= 0.1.3 = 
     89 
     90Added ability to choose what size(s) are checked instead of just all of them! 
     91 
     92= 0.1.2 = 
     93 
     94Major improvment to how new image sizes are created. 
     95 
    7696== Changelog == 
     97 
     98= 0.1.4 = 
     99 
     100* Fixed bug preventing WordPress sizes from resizing unless a custom size was added 
    77101 
    78102= 0.1.3 = 
     
    127151*   Use the additional sizes in your posts or pages from the `Add an Image` screen. 
    128152 
    129 == Upgrade Notice == 
    130  
    131 = 0.1.3 = 
    132  
    133 Added ability to choose what size(s) are checked instead of just all of them! 
    134  
    135 = 0.1.2 = 
    136  
    137 Major improvment to how new image sizes are created. 
  • additional-image-sizes-zui/trunk/init.php

    r348328 r348389  
    44Plugin URI:     http://beingzoe.com/zui/wordpress/additional-image-sizes/ 
    55Description:    Create custom image sizes and resize predefined WordPress sizes if necessary 
    6 Version:        0.1.3 
     6Version:        0.1.4 
    77Author:         zoe somebody, Walter Vos 
    88Author URI:     http://beingzoe.com/ 
     
    1616 * @package     ZUI 
    1717 * @subpackage  WordPress 
    18  * @version     0.1.3 
     18 * @version     0.1.4 
    1919 * @since       0.1 
    2020 * @uses        ZUI_WpAdditionalImageSizes class 
  • additional-image-sizes-zui/trunk/vendor/beingzoe/zui_php/ZUI/WpAdditionalImageSizes.php

    r348328 r348389  
    2323 * @package     ZUI 
    2424 * @subpackage  WordPress 
    25  * @version     0.1.3 
     25 * @version     0.1.4 
    2626 * @since       0.1 
    2727 * @author      Walter Vos 
     
    108108    */ 
    109109    public static function getAddtionalSizesFromWpOptions() { 
    110         return get_option('aisz_sizes'); 
     110        $aisz_sizes = get_option('aisz_sizes'); 
     111        if (!is_array($aisz_sizes)) 
     112            $aisz_sizes = array(); 
     113        return $aisz_sizes; 
    111114    } 
    112115 
     
    567570        } else { 
    568571            $all_image_sizes = self::getAllImageSizes(); 
    569             $messages['success'][] = 'Checked all custom and WordPress sizes (thumbnail, medium, large) image sizes.'; 
     572            $messages['success'][] = 'Checked all custom and WordPress (thumbnail, medium, large) image sizes.'; 
    570573        } 
    571574 
Note: See TracChangeset for help on using the changeset viewer.