Permalink
Browse files

Pass full $image array to get_the_image_meta_key_save().

  • Loading branch information...
1 parent 9183530 commit d4eb59125cff44e123dcbf889f19fdf77fa60722 @justintadlock committed Sep 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 extensions/get-the-image.php
@@ -139,7 +139,7 @@ function get_the_image( $args = array() ) {
/* If $meta_key_save was set, save the image to a custom field. */
if ( !empty( $meta_key_save ) )
- get_the_image_meta_key_save( $args, $image['src'] );
+ get_the_image_meta_key_save( $args, $image );
/* Format the image HTML. */
$image_html = get_the_image_format( $args, $image );

0 comments on commit d4eb591

Please sign in to comment.