PluginProbe
Hostinger Tools / 2.1.1
Hostinger Tools v2.1.1
3.0.77 3.0.76 3.0.75 3.0.74 3.0.73 3.0.72 3.0.71 3.0.70 3.0.69 3.0.68 3.0.67 3.0.66 1.8.1 1.8.2 1.8.3 1.9.1 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.1 2.0.4 All 108 releases
← All changes | includes/admin/class-hostinger-admin-menu.php +4 -5 1.9.72.1.1 View file →
@@ -5,9 +5,9 @@
5 5 }
6 6
7 7 class Hostinger_Admin_Menu {
8 8 public function __construct() {
9 - add_action( 'admin_menu', [ $this, 'admin_menu' ] );
9 + add_action( 'admin_menu', array( $this, 'admin_menu' ) );
10 10 }
11 11
12 12 public function admin_menu(): void {
13 13 $icon = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyMSAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0wLjAwMDE5OTY1MyAxMS4yMzY4VjAuMDAwMzk4MjM1TDUuNjcxMzMgMy4wMjQzNlY4LjA4NjkxTDEzLjE3ODggOC4wOTA1M0wxOC45NDE5IDExLjIzNjhIMC4wMDAxOTk2NTNaTTE0LjcxNCA3LjE2MDQ3VjBMMjAuNTM4IDIuOTQ4NzJWMTAuNTQzN0wxNC43MTQgNy4xNjA0N1pNMTQuNzE0IDIwLjg5NDJWMTUuODc1M0w3LjE0ODYyIDE1Ljg3QzcuMTU1NjggMTUuOTAzNCAxLjI4OTg0IDEyLjY3MzUgMS4yODk4NCAxMi42NzM1TDIwLjUzOCAxMi43NjM4VjI0TDE0LjcxNCAyMC44OTQyWk0wIDIwLjg5NDFMMC4wMDAyMDE3NjkgMTMuNTUxNEw1LjY3MTMzIDE2Ljg1NDZWMjMuODQyN0wwIDIwLjg5NDFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K';
@@ -15,9 +15,9 @@
15 15 __( 'Hostinger', 'hostinger' ),
16 16 __( 'Hostinger', 'hostinger' ),
17 17 'manage_options',
18 18 'hostinger',
19 - [ $this, 'render' ],
19 + array( $this, 'render' ),
20 20 $icon,
21 21 1
22 22 );
23 23
@@ -43,10 +43,10 @@
43 43
44 44 if ( has_action( 'hostinger_ai_assistant_tab_view' ) && current_user_can( 'edit_posts' ) ) {
45 45 add_submenu_page(
46 46 'hostinger',
47 - __( 'AI assistant', 'hostinger' ),
48 - __( 'AI assistant', 'hostinger' ),
47 + __( 'AI Content Creator', 'hostinger' ),
48 + __( 'AI Content Creator', 'hostinger' ),
49 49 'manage_options',
50 50 'hostinger&#ai-assistant',
51 51 '__return_empty_string',
52 52 4
@@ -53,9 +53,8 @@
53 53 );
54 54 }
55 55
56 56 remove_submenu_page( 'hostinger', 'hostinger' );
57 -
58 57 }
59 58
60 59 public function render(): void {
61 60 require_once HOSTINGER_ABSPATH . 'includes/admin/onboarding/class-hostinger-onboarding.php';