Skip to content

Commit 7c94da0

Browse files
authored
Merge pull request #1410 from skaut/get_class-fix
Fixed ::class for PHP <8
2 parents 2ef6573 + 80078db commit 7c94da0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/php/admin/class-settings-pages.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function __construct() {
4545
* @return void
4646
*/
4747
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' ) );
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( get_class( $this->basic ), 'html' ), plugins_url( '/skaut-google-drive-gallery/admin/icon.png' ) );
4949
}
5050

5151
/**

0 commit comments

Comments
 (0)