WordPress.org

Plugin Directory

Changeset 1472415


Ignore:
Timestamp:
08/11/16 16:20:18 (12 months ago)
Author:
dbmartin
Message:

changed to natsort in get_allowed_image_sizes for earlier php versions

Location:
advanced-categories-widget
Files:
25 added
3 edited

Legend:

Unmodified
Added
Removed
  • advanced-categories-widget/trunk/advanced-categories-widget.php

    r1414348 r1472415  
    66 * 
    77 * @license     http://www.gnu.org/licenses/gpl-2.0.txt GPL-2.0+ 
    8  * @version     1.1 
     8 * @version     1.2 
    99 * 
    1010 * Plugin Name: Advanced Categories Widget 
    1111 * Plugin URI:  http://darrinb.com/plugins/advanced-categories-widget 
    1212 * Description: A highly customizable recent categories widget. 
    13  * Version:     1.1 
     13 * Version:     1.2 
    1414 * Author:      Darrin Boutote 
    1515 * Author URI:  http://darrinb.com 
  • advanced-categories-widget/trunk/inc/class-advanced-categories-widget-utils.php

    r1408895 r1472415  
    273273 
    274274            $image_sizes = array(); 
    275             asort( $sizes, SORT_NATURAL ); 
     275            natsort( $sizes ); 
    276276 
    277277            foreach ( $sizes as $_size ) { 
  • advanced-categories-widget/trunk/readme.txt

    r1414345 r1472415  
    33Tags: category, categories, category-widget, categories-widget, post-category, post-categories, 
    44Requires at least: 4.4 
    5 Tested up to: 4.5 
    6 Stable tag: 1.1 
     5Tested up to: 4.5.4 
     6Stable tag: 1.2 
    77License: GPLv2 or later 
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html 
Note: See TracChangeset for help on using the changeset viewer.