mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-19 06:23:22 +09:00
Fix dependencies
This commit is contained in:
@@ -19,10 +19,6 @@ class Display_Featured_Image_Genesis_Settings {
|
||||
protected $post_types;
|
||||
protected $fields;
|
||||
|
||||
public function __construct( $common ) {
|
||||
$this->common = $common;
|
||||
}
|
||||
|
||||
/**
|
||||
* add a submenu page under Appearance
|
||||
* @return submenu Display Featured image settings page
|
||||
@@ -30,7 +26,8 @@ class Display_Featured_Image_Genesis_Settings {
|
||||
*/
|
||||
public function do_submenu_page() {
|
||||
|
||||
$this->page = 'displayfeaturedimagegenesis';
|
||||
$this->page = 'displayfeaturedimagegenesis';
|
||||
$this->common = new Display_Featured_Image_Genesis_Common();
|
||||
|
||||
add_theme_page(
|
||||
__( 'Display Featured Image for Genesis', 'display-featured-image-genesis' ),
|
||||
|
||||
Reference in New Issue
Block a user