From 43f1b8887082fa1b970fa144b8cf41d567889311 Mon Sep 17 00:00:00 2001 From: Julien Maury Date: Sun, 6 Apr 2014 01:45:52 +0200 Subject: [PATCH] replace image_id_from_url() with new method save group() It fix the fatal error with undefined method --- helpers/cmb_Meta_Box_types.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/cmb_Meta_Box_types.php b/helpers/cmb_Meta_Box_types.php index bdebdf4..e352d3f 100644 --- a/helpers/cmb_Meta_Box_types.php +++ b/helpers/cmb_Meta_Box_types.php @@ -739,7 +739,7 @@ public function file() { // If there is no ID saved yet, try to get it from the url if ( $meta_value && ! $_id_value ) { - $_id_value = cmb_Meta_Box::image_id_from_url( esc_url_raw( $meta_value ) ); + $_id_value = cmb_Meta_Box::save_group( esc_url_raw( $meta_value ) ); } echo $this->input( array(