Fix $variables

This commit is contained in:
Robin Cornett
2015-06-06 17:57:28 -04:00
parent 93b7c5aa35
commit 0f6430682d
3 changed files with 58 additions and 83 deletions
@@ -13,7 +13,10 @@ class Display_Featured_Image_Genesis_Settings {
* variable set for featured image option
* @var option
*/
protected $common, $page, $displaysetting, $post_types;
protected $common;
protected $page;
protected $displaysetting;
protected $post_types;
public function __construct( $common ) {
$this->common = $common;
@@ -165,7 +168,7 @@ class Display_Featured_Image_Genesis_Settings {
'title' => esc_attr( $post->label ),
'callback' => 'set_cpt_image',
'section' => $sections['cpt']['id'],
'args' => array( 'post_type' => $post, ),
'args' => array( 'post_type' => $post ),
);
}
}