WordPress.org

Make WordPress Core

Changeset 23632


Ignore:
Timestamp:
03/07/13 04:46:19 (14 months ago)
Author:
SergeyBiryukov
Message:

Declare the variable before using it. props danielbachhuber. fixes #23710.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/image.php

    r23374 r23632  
    8585        global $_wp_additional_image_sizes; 
    8686 
     87        $sizes = array(); 
    8788        foreach ( get_intermediate_image_sizes() as $s ) { 
    8889            $sizes[$s] = array( 'width' => '', 'height' => '', 'crop' => false ); 
Note: See TracChangeset for help on using the changeset viewer.