WordPress.org

Plugin Directory

Changeset 638529


Ignore:
Timestamp:
12/13/12 12:56:22 (16 months ago)
Author:
eskapism
Message:

version 1.2.2

Location:
simple-fields-map-extension
Files:
2 edited
9 copied

Legend:

Unmodified
Added
Removed
  • simple-fields-map-extension/tags/1.2.2/readme.txt

    r637683 r638529  
    55Requires at least: 3.4 
    66Tested up to: 3.4.2 
    7 Stable tag: 1.2.1 
     7Stable tag: 1.2.2 
    88License: GPLv2 
    99 
     
    5555== Changelog == 
    5656 
     57= 1.2.2 = 
     58- Fixed notice error if no additional image sizes where used in the theme currently in use 
     59 
    5760= 1.2.1 = 
    5861- Added support for coordinates with negative latitude/longitude locations, like this one: 2.033630,-76.007050 
  • simple-fields-map-extension/tags/1.2.2/simple-fields-map-extension.php

    r637683 r638529  
    44Plugin URI: http://earthpeople.se/ 
    55Description: Adds a Google Maps-field to Simple Fields 
    6 Version: 1.2.1 
     6Version: 1.2.2 
    77Author: Earth People 
    88Author URI: http://earthpeople.se/ 
     
    230230            // Add custom sizes 
    231231            global $_wp_additional_image_sizes; 
    232             foreach ($_wp_additional_image_sizes as $size_key => $size_vals) {  
    233                 $arr_sizes[$size_key] = array( 
    234                     "width"     => $size_vals["width"], 
    235                     "height"    => $size_vals["height"] 
    236                 ); 
     232            if (isset($_wp_additional_image_sizes) && is_array($_wp_additional_image_sizes)) { 
     233                foreach ($_wp_additional_image_sizes as $size_key => $size_vals) {  
     234                    $arr_sizes[$size_key] = array( 
     235                        "width"     => $size_vals["width"], 
     236                        "height"    => $size_vals["height"] 
     237                    ); 
     238                } 
    237239            } 
    238240             
  • simple-fields-map-extension/trunk/readme.txt

    r637683 r638529  
    55Requires at least: 3.4 
    66Tested up to: 3.4.2 
    7 Stable tag: 1.2.1 
     7Stable tag: 1.2.2 
    88License: GPLv2 
    99 
     
    5555== Changelog == 
    5656 
     57= 1.2.2 = 
     58- Fixed notice error if no additional image sizes where used in the theme currently in use 
     59 
    5760= 1.2.1 = 
    5861- Added support for coordinates with negative latitude/longitude locations, like this one: 2.033630,-76.007050 
  • simple-fields-map-extension/trunk/simple-fields-map-extension.php

    r637683 r638529  
    44Plugin URI: http://earthpeople.se/ 
    55Description: Adds a Google Maps-field to Simple Fields 
    6 Version: 1.2.1 
     6Version: 1.2.2 
    77Author: Earth People 
    88Author URI: http://earthpeople.se/ 
     
    230230            // Add custom sizes 
    231231            global $_wp_additional_image_sizes; 
    232             foreach ($_wp_additional_image_sizes as $size_key => $size_vals) {  
    233                 $arr_sizes[$size_key] = array( 
    234                     "width"     => $size_vals["width"], 
    235                     "height"    => $size_vals["height"] 
    236                 ); 
     232            if (isset($_wp_additional_image_sizes) && is_array($_wp_additional_image_sizes)) { 
     233                foreach ($_wp_additional_image_sizes as $size_key => $size_vals) {  
     234                    $arr_sizes[$size_key] = array( 
     235                        "width"     => $size_vals["width"], 
     236                        "height"    => $size_vals["height"] 
     237                    ); 
     238                } 
    237239            } 
    238240             
Note: See TracChangeset for help on using the changeset viewer.