diff --git a/src/php/admin/class-settings-pages.php b/src/php/admin/class-settings-pages.php index 20107d958..fef203ce9 100644 --- a/src/php/admin/class-settings-pages.php +++ b/src/php/admin/class-settings-pages.php @@ -45,7 +45,7 @@ public function __construct() { * @return void */ public function add() { - add_menu_page( __( 'Google Drive gallery', 'skaut-google-drive-gallery' ), esc_html__( 'Google Drive gallery', 'skaut-google-drive-gallery' ), 'manage_options', 'sgdg_basic', array( $this->basic::class, 'html' ), plugins_url( '/skaut-google-drive-gallery/admin/icon.png' ) ); + add_menu_page( __( 'Google Drive gallery', 'skaut-google-drive-gallery' ), esc_html__( 'Google Drive gallery', 'skaut-google-drive-gallery' ), 'manage_options', 'sgdg_basic', array( get_class( $this->basic ), 'html' ), plugins_url( '/skaut-google-drive-gallery/admin/icon.png' ) ); } /**