From 80078db2433ff53543d2d4c72366a276734c158a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20D=C4=9Bdi=C4=8D?= Date: Mon, 23 May 2022 12:00:14 +0200 Subject: [PATCH] Fixed ::class for PHP <8 --- src/php/admin/class-settings-pages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ) ); } /**