Skip to content

Commit

Permalink
Merge pull request #1410 from skaut/get_class-fix
Browse files Browse the repository at this point in the history
Fixed ::class for PHP <8
  • Loading branch information
marekdedic authored May 23, 2022
2 parents 2ef6573 + 80078db commit 7c94da0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/php/admin/class-settings-pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' ) );
}

/**
Expand Down

0 comments on commit 7c94da0

Please sign in to comment.