Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed old function names

  • Loading branch information...
commit 62b7ed4e6858e6eb32686fe49e010f867c4fec12 1 parent 49ed414
Joe Hoyle joehoyle authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 hm-core.functions.php
6 hm-core.functions.php
View
@@ -555,13 +555,13 @@ function hm_get_post_image( $post = null, $w = 0, $h = 0, $crop = false, $id = n
$id = $id ? $id : hm_get_post_image_id( $post );
if ( $id )
- return wpthumb( get_attached_file( $id ), $w, $h, $crop, true, wm_get_options( $id ) );
+ return wpthumb( get_attached_file( $id ), $w, $h, $crop, true, wpthumb_wm_get_options( $id ) );
$att_id = hm_get_post_attached_image_id( $post );
if ( $att_id )
- return wpthumb( get_attached_file( $att_id ), $w, $h, $crop, true, wm_get_options( $id ) );
+ return wpthumb( get_attached_file( $att_id ), $w, $h, $crop, true, wpthumb_wm_get_options( $id ) );
//if there is no id, then try search the content for an image
- if ( $return = wpthumb(hm_get_post_internal_image($post), $w, $h, $crop, true, wm_get_options( $id )) )
+ if ( $return = wpthumb(hm_get_post_internal_image($post), $w, $h, $crop, true, wpthumb_wm_get_options( $id )) )
return $return;
if ( $reutrn = hm_get_post_external_image($post) )
Please sign in to comment.
Something went wrong with that request. Please try again.