Skip to content

Commit

Permalink
55944 issue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
deepakrohillas committed May 30, 2024
1 parent 5bc55f3 commit 831381d
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/wp-admin/menu-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
* @subpackage Administration
*/

// Don't load directly.
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}

/**
* The current page.
*
Expand Down
5 changes: 5 additions & 0 deletions src/wp-admin/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
* @subpackage Administration
*/

// Don't load directly.
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}

/**
* Constructs the admin menu.
*
Expand Down
5 changes: 5 additions & 0 deletions src/wp-admin/network/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
* @since 3.1.0
*/

// Don't load directly.
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}

/* translators: Network menu item. */
$menu[2] = array( __( 'Dashboard' ), 'manage_network', 'index.php', '', 'menu-top menu-top-first menu-icon-dashboard', 'menu-dashboard', 'dashicons-dashboard' );

Expand Down
5 changes: 5 additions & 0 deletions src/wp-admin/user/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
* @since 3.1.0
*/

// Don't load directly.
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}

$menu[2] = array( __( 'Dashboard' ), 'exist', 'index.php', '', 'menu-top menu-top-first menu-icon-dashboard', 'menu-dashboard', 'dashicons-dashboard' );

$menu[4] = array( '', 'exist', 'separator1', '', 'wp-menu-separator' );
Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/class-wp-customize-setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}

/**
* Customize Setting class.
*
Expand Down

0 comments on commit 831381d

Please sign in to comment.