We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2ef6573 + 80078db commit 7c94da0Copy full SHA for 7c94da0
src/php/admin/class-settings-pages.php
@@ -45,7 +45,7 @@ public function __construct() {
45
* @return void
46
*/
47
public function add() {
48
- 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' ) );
49
}
50
51
/**
0 commit comments