From 92d914432ddcc0c05eeedc8051d2f51ddeb1d554 Mon Sep 17 00:00:00 2001 From: Nicolas Gutierrez Date: Thu, 2 Jan 2014 12:18:33 +0000 Subject: [PATCH] Fixing notice "Undefined prop.: kd[...]Images::$args" Fixing notice "Undefined property: kdMultipleFeaturedImages::$args" --- multiple-featured-images.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multiple-featured-images.php b/multiple-featured-images.php index b30fc36..8f21e56 100644 --- a/multiple-featured-images.php +++ b/multiple-featured-images.php @@ -66,7 +66,7 @@ public function __construct( $args ) { $this->post_meta_key= 'kd_'.$this->id.'_'.$this->post_type.'_id'; - $this->nonce = 'mfi-'.$this->args['id'].$this->args['post_type']; + $this->nonce = 'mfi-'.$args['id'].$args['post_type']; if( !current_theme_supports( 'post-thumbnails' ) ) { add_theme_support( 'post-thumbnails' );