mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-14 03:56:09 +09:00
Fix $variables
This commit is contained in:
@@ -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 ),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user