PluginProbe
Hostinger Tools / 2.0.1
Hostinger Tools v2.0.1
3.0.78 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 All 109 releases
← All changes | includes/admin/class-hostinger-admin-actions.php +2 -16 1.8.32.0.1 View file →
@@ -9,8 +9,9 @@
9 9 public const EDIT_SITE_TITLE = 'edit_site_title';
10 10 public const ADD_POST = 'add_post';
11 11 public const ADD_PAGE = 'add_page';
12 12 public const ADD_PRODUCT = 'add_product';
13 + public const DOMAIN_IS_CONNECTED = 'connect_domain';
13 14 public const ACTIONS_LIST = [
14 15 self::LOGO_UPLOAD,
15 16 self::IMAGE_UPLOAD,
16 17 self::EDIT_DESCRIPTION,
@@ -17,22 +18,7 @@
17 18 self::EDIT_SITE_TITLE,
18 19 self::ADD_POST,
19 20 self::ADD_PAGE,
20 21 self::ADD_PRODUCT,
22 + self::DOMAIN_IS_CONNECTED,
21 23 ];
22 -
23 - public function __construct() {
24 - add_action( 'admin_footer', array( $this, 'add_amplitude_action_nonce' ) );
25 - add_action( 'wp_head', array( $this, 'add_action_nonce' ) );
26 - }
27 -
28 - public function add_amplitude_action_nonce(): void {
29 - wp_nonce_field( 'menu_actions', 'menu_actions_nonce' );
30 - }
31 -
32 - public function add_action_nonce(): void {
33 - wp_nonce_field( 'hts_action_name', 'hts_action_name_nonce' );
34 - }
35 -
36 24 }
37 -
38 -new Hostinger_Admin_Actions();