WordPress.org

Plugin Directory

Changeset 625457


Ignore:
Timestamp:
11/15/12 00:07:23 (17 months ago)
Author:
ethitter
Message:

Reference correct variables for width and height so that the code actually works and we don't generate a lot of warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jetpack/trunk/modules/photon.php

    r624823 r625457  
    275275                // Expose arguments to a filter before passing to Photon 
    276276                $photon_args = array( 
    277                     'fit' => $image_args['width'] . ',' . $image_args['height'] 
     277                    'fit' => $width . ',' . $height 
    278278                ); 
     279 
    279280                $photon_args = apply_filters( 'jetpack_photon_image_downsize_array', $photon_args, compact( 'width', 'height', 'image_url', 'attachment_id' ) ); 
    280281 
Note: See TracChangeset for help on using the changeset viewer.