??????????????
??????????????
??????????????
??????????????
Warning : Undefined variable $auth in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
Warning : Trying to access array offset on value of type null in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
??????????????
??????????????
??????????????
??????????????
File Manager
✏️ Edit File: /home/mklsvubc/turanoil.kz/wp-admin/menu-header.php
⬅ Kembali
<?php
/**
* Displays Administration Menu.
*
* @package WordPress
* @subpackage Administration
*/
// Don't load directly.
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
/**
* The current page.
*
* @global string $self
*/
$self = preg_replace( '|^.*/wp-admin/network/|i', '', $_SERVER['PHP_SELF'] );
$self = preg_replace( '|^.*/wp-admin/|i', '', $self );
$self = preg_replace( '|^.*/plugins/|i', '', $self );
$self = preg_replace( '|^.*/mu-plugins/|i', '', $self );
/**
* For when admin-header is included from within a function.
*
* @global array $menu
* @global array $submenu
* @global string $parent_file
* @global string $submenu_file
*/
global $menu, $submenu, $parent_file, $submenu_file;
/**
* Filters the parent file of an admin menu sub-menu item.
*
* Allows plugins to move sub-menu items around.
*
* @since MU (3.0.0)
*
* @param string $parent_file The parent file.
*/
$parent_file = apply_filters( 'parent_file', $parent_file );
/**
* Filters the file of an admin menu sub-menu item.
*
* @since 4.4.0
*
* @param string $submenu_file The submenu file.
* @param string $parent_file The submenu item's parent file.
*/
$submenu_file = apply_filters( 'submenu_file', $submenu_file, $parent_file );
get_admin_page_parent();
/**
* Display menu.
*
* @access private
* @since 2.7.0
*
* @global string $self
* @global string $parent_file
* @global string $submenu_file
* @global string $plugin_page
* @global string $typenow The post type of the current screen.
*
* @param array $menu
* @param array $submenu
* @param bool $submenu_as_parent
*/
function _wp_menu_output( $menu, $submenu, $submenu_as_parent = true ) {
global $self, $parent_file, $submenu_file, $plugin_page, $typenow;
$first = true;
// 0 = menu_title, 1 = capability, 2 = menu_slug, 3 = page_title, 4 = classes, 5 = hookname, 6 = icon_url.
foreach ( $menu as $key => $item ) {
$admin_is_parent = false;
$class = array();
$aria_attributes = '';
$aria_hidden = '';
$is_separator = false;
if ( $first ) {
$class[] = 'wp-first-item';
$first = false;
}
$submenu_items = array();
if ( ! empty( $submenu[ $item[2] ] ) ) {
$class[] = 'wp-has-submenu';
$submenu_items = $submenu[ $item[2] ];
}
if ( ( $parent_file && $item[2] === $parent_file ) || ( empty( $typenow ) && $self === $item[2] ) ) {
if ( ! empty( $submenu_items ) ) {
$class[] = 'wp-has-current-submenu wp-menu-open';
} else {
$class[] = 'current';
$aria_attributes .= 'aria-current="page"';
}
} else {
$class[] = 'wp-not-current-submenu';
if ( ! empty( $submenu_items ) ) {
$aria_attributes .= 'data-ariahaspopup';
}
}
if ( ! empty( $item[4] ) ) {
$class[] = esc_attr( $item[4] );
}
$class = $class ? ' class="' . implode( ' ', $class ) . '"' : '';
$id = ! empty( $item[5] ) ? ' id="' . preg_replace( '|[^a-zA-Z0-9_:.]|', '-', $item[5] ) . '"' : '';
$img = '';
$img_style = '';
$img_class = ' dashicons-before';
if ( str_contains( $class, 'wp-menu-separator' ) ) {
$is_separator = true;
}
/*
* If the string 'none' (previously 'div') is passed instead of a URL, don't output
* the default menu image so an icon can be added to div.wp-menu-image as background
* with CSS. Dashicons and base64-encoded data:image/svg_xml URIs are also handled
* as special cases.
*/
if ( ! empty( $item[6] ) ) {
$img = '<img src="' . esc_url( $item[6] ) . '" alt="" />';
if ( 'none' === $item[6] || 'div' === $item[6] ) {
$img = '<br />';
} elseif ( str_starts_with( $item[6], 'data:image/svg+xml;base64,' ) ) {
$img = '<br />';
// The value is base64-encoded data, so esc_attr() is used here instead of esc_url().
$img_style = ' style="background-image:url(\'' . esc_attr( $item[6] ) . '\')"';
$img_class = ' svg';
} elseif ( str_starts_with( $item[6], 'dashicons-' ) ) {
$img = '<br />';
$img_class = ' dashicons-before ' . sanitize_html_class( $item[6] );
}
}
$title = wptexturize( $item[0] );
// Hide separators from screen readers.
if ( $is_separator ) {
$aria_hidden = ' aria-hidden="true"';
}
echo "\n\t<li$class$id$aria_hidden>";
if ( $is_separator ) {
echo '<div class="separator"></div>';
} elseif ( $submenu_as_parent && ! empty( $submenu_items ) ) {
$submenu_items = array_values( $submenu_items ); // Re-index.
$menu_hook = get_plugin_page_hook( $submenu_items[0][2], $item[2] );
$menu_file = $submenu_items[0][2];
$pos = strpos( $menu_file, '?' );
if ( false !== $pos ) {
$menu_file = substr( $menu_file, 0, $pos );
}
if ( ! empty( $menu_hook )
|| ( ( 'index.php' !== $submenu_items[0][2] )
&& file_exists( WP_PLUGIN_DIR . "/$menu_file" )
&& ! file_exists( ABSPATH . "/wp-admin/$menu_file" ) )
) {
$admin_is_parent = true;
echo "<a href='admin.php?page={$submenu_items[0][2]}'$class $aria_attributes><div class='wp-menu-image$img_class'$img_style aria-hidden='true'>$img</div><div class='wp-menu-name'>$title</div></a>";
} else {
echo "\n\t<a href='{$submenu_items[0][2]}'$class $aria_attributes><div class='wp-menu-image$img_class'$img_style aria-hidden='true'>$img</div><div class='wp-menu-name'>$title</div></a>";
}
} elseif ( ! empty( $item[2] ) && current_user_can( $item[1] ) ) {
$menu_hook = get_plugin_page_hook( $item[2], 'admin.php' );
$menu_file = $item[2];
$pos = strpos( $menu_file, '?' );
if ( false !== $pos ) {
$menu_file = substr( $menu_file, 0, $pos );
}
if ( ! empty( $menu_hook )
|| ( ( 'index.php' !== $item[2] )
&& file_exists( WP_PLUGIN_DIR . "/$menu_file" )
&& ! file_exists( ABSPATH . "/wp-admin/$menu_file" ) )
) {
$admin_is_parent = true;
echo "\n\t<a href='admin.php?page={$item[2]}'$class $aria_attributes><div class='wp-menu-image$img_class'$img_style aria-hidden='true'>$img</div><div class='wp-menu-name'>{$item[0]}</div></a>";
} else {
echo "\n\t<a href='{$item[2]}'$class $aria_attributes><div class='wp-menu-image$img_class'$img_style aria-hidden='true'>$img</div><div class='wp-menu-name'>{$item[0]}</div></a>";
}
}
if ( ! empty( $submenu_items ) ) {
echo "\n\t<ul class='wp-submenu wp-submenu-wrap'>";
echo "<li class='wp-submenu-head' aria-hidden='true'>{$item[0]}</li>";
$first = true;
// 0 = menu_title, 1 = capability, 2 = menu_slug, 3 = page_title, 4 = classes.
foreach ( $submenu_items as $sub_key => $sub_item ) {
if ( ! current_user_can( $sub_item[1] ) ) {
continue;
}
$class = array();
$aria_attributes = '';
if ( $first ) {
$class[] = 'wp-first-item';
$first = false;
}
$menu_file = $item[2];
$pos = strpos( $menu_file, '?' );
if ( false !== $pos ) {
$menu_file = substr( $menu_file, 0, $pos );
}
// Handle current for post_type=post|page|foo pages, which won't match $self.
$self_type = ! empty( $typenow ) ? $self . '?post_type=' . $typenow : 'nothing';
if ( isset( $submenu_file ) ) {
if ( $submenu_file === $sub_item[2] ) {
$class[] = 'current';
$aria_attributes .= ' aria-current="page"';
}
/*
* If plugin_page is set the parent must either match the current page or not physically exist.
* This allows plugin pages with the same hook to exist under different parents.
*/
} elseif (
( ! isset( $plugin_page ) && $self === $sub_item[2] )
|| ( isset( $plugin_page ) && $plugin_page === $sub_item[2]
&& ( $item[2] === $self_type || $item[2] === $self || file_exists( $menu_file ) === false ) )
) {
$class[] = 'current';
$aria_attributes .= ' aria-current="page"';
}
if ( ! empty( $sub_item[4] ) ) {
$class[] = esc_attr( $sub_item[4] );
}
$class = $class ? ' class="' . implode( ' ', $class ) . '"' : '';
$menu_hook = get_plugin_page_hook( $sub_item[2], $item[2] );
$sub_file = $sub_item[2];
$pos = strpos( $sub_file, '?' );
if ( false !== $pos ) {
$sub_file = substr( $sub_file, 0, $pos );
}
$title = wptexturize( $sub_item[0] );
if ( ! empty( $menu_hook )
|| ( ( 'index.php' !== $sub_item[2] )
&& file_exists( WP_PLUGIN_DIR . "/$sub_file" )
&& ! file_exists( ABSPATH . "/wp-admin/$sub_file" ) )
) {
// If admin.php is the current page or if the parent exists as a file in the plugins or admin directory.
if ( ( ! $admin_is_parent && file_exists( WP_PLUGIN_DIR . "/$menu_file" ) && ! is_dir( WP_PLUGIN_DIR . "/{$item[2]}" ) ) || file_exists( $menu_file ) ) {
$sub_item_url = add_query_arg( array( 'page' => $sub_item[2] ), $item[2] );
} else {
$sub_item_url = add_query_arg( array( 'page' => $sub_item[2] ), 'admin.php' );
}
$sub_item_url = esc_url( $sub_item_url );
echo "<li$class><a href='$sub_item_url'$class$aria_attributes>$title</a></li>";
} else {
echo "<li$class><a href='{$sub_item[2]}'$class$aria_attributes>$title</a></li>";
}
}
echo '</ul>';
}
echo '</li>';
}
echo '<li id="collapse-menu" class="hide-if-no-js">' .
'<button type="button" id="collapse-button" aria-label="' . esc_attr__( 'Collapse Main Menu' ) . '" aria-expanded="true">' .
'<span class="collapse-button-icon" aria-hidden="true"></span>' .
'<span class="collapse-button-label">' . __( 'Collapse Menu' ) . '</span>' .
'</button></li>';
}
?>
<div id="adminmenumain" role="navigation" aria-label="<?php esc_attr_e( 'Main menu' ); ?>">
<a href="#wpbody-content" class="screen-reader-shortcut"><?php _e( 'Skip to main content' ); ?></a>
<a href="#wp-toolbar" class="screen-reader-shortcut"><?php _e( 'Skip to toolbar' ); ?></a>
<div id="adminmenuback"></div>
<div id="adminmenuwrap">
<ul id="adminmenu">
<?php
_wp_menu_output( $menu, $submenu );
/**
* Fires after the admin menu has been output.
*
* @since 2.5.0
*/
do_action( 'adminmenu' );
?>
</ul>
</div>
</div>
Nama
Tipe
Ukuran
Diubah
Aksi
📁 css
dir
—
2026-05-21 04:46
📁 images
dir
—
2026-05-21 04:46
📁 includes
dir
—
2026-06-22 06:39
📁 js
dir
—
2025-03-17 15:33
📁 maint
dir
—
2026-06-03 04:27
📁 network
dir
—
2026-05-29 18:56
📁 user
dir
—
2026-05-29 18:56
🐘 about.php
php
16 KB
2026-05-21 04:46
🐘 admin-ajax.php
php
5 KB
2024-07-04 15:22
🐘 admin-footer.php
php
2.7 KB
2026-05-21 04:46
🐘 admin-functions.php
php
479 B
2025-04-16 03:36
🐘 admin-header.php
php
9.1 KB
2026-05-21 04:46
🐘 admin-post.php
php
2 KB
2025-04-16 03:36
🐘 admin.php
php
12.6 KB
2026-05-21 04:46
🐘 async-upload.php
php
5.5 KB
2025-12-03 04:15
🐘 authorize-application.php
php
10.1 KB
2023-09-14 04:54
🐘 comment.php
php
11.4 KB
2026-05-21 04:46
🐘 contribute.php
php
5.9 KB
2026-05-21 04:46
🐘 credits.php
php
4.4 KB
2026-05-21 04:46
🐘 custom-background.php
php
489 B
2025-04-16 03:36
🐘 custom-header.php
php
499 B
2025-04-16 03:36
🐘 customize.php
php
11.2 KB
2026-05-21 04:46
🐘 edit-comments.php
php
14.1 KB
2026-05-21 04:46
🐘 edit-form-advanced.php
php
28.8 KB
2026-05-21 04:46
🐘 edit-form-blocks.php
php
14.7 KB
2026-05-21 04:46
🐘 edit-form-comment.php
php
8.3 KB
2026-05-21 04:46
🐘 edit-link-form.php
php
6.2 KB
2025-04-16 03:36
🐘 edit-tag-form.php
php
10.4 KB
2026-05-21 04:46
🐘 edit-tags.php
php
22 KB
2026-05-21 04:46
🐘 edit.php
php
19.5 KB
2024-10-04 02:46
🐘 erase-personal-data.php
php
7.3 KB
2024-04-18 00:21
📄 error_log
file
1.8 MB
2026-06-24 18:45
🐘 export-personal-data.php
php
7.8 KB
2024-04-18 00:21
🐘 export.php
php
11 KB
2026-05-21 04:46
🐘 font-library.php
php
1 KB
2026-05-21 04:46
🐘 freedoms.php
php
4.8 KB
2026-05-21 04:46
🐘 import.php
php
7.6 KB
2025-04-16 03:36
🐘 index.php
php
7.7 KB
2023-09-14 04:54
🐘 install-helper.php
php
6.8 KB
2022-11-20 19:10
🐘 install.php
php
17.9 KB
2026-05-21 04:46
🐘 link-add.php
php
934 B
2025-04-16 03:36
🐘 link-manager.php
php
4.3 KB
2025-04-16 03:36
🐘 link-parse-opml.php
php
2.6 KB
2026-05-21 04:46
🐘 link.php
php
2.9 KB
2024-05-01 22:01
🐘 load-scripts.php
php
2 KB
2024-08-26 03:48
🐘 load-styles.php
php
2.9 KB
2024-11-05 04:36
🐘 media-new.php
php
3.2 KB
2026-05-21 04:46
🐘 media-upload.php
php
3.6 KB
2025-04-16 03:36
🐘 media.php
php
819 B
2024-05-01 22:01
🐘 menu-header.php
php
9.8 KB
2025-04-16 03:36
🐘 menu.php
php
17.7 KB
2026-05-21 04:46
🐘 moderation.php
php
307 B
2020-02-06 11:33
🐘 ms-admin.php
php
196 B
2020-02-06 11:33
🐘 ms-delete-site.php
php
4.5 KB
2025-12-03 04:15
🐘 ms-edit.php
php
216 B
2020-02-06 11:33
🐘 ms-options.php
php
229 B
2024-06-22 15:47
🐘 ms-sites.php
php
215 B
2020-02-06 11:33
🐘 ms-themes.php
php
217 B
2020-02-06 11:33
🐘 ms-upgrade-network.php
php
219 B
2020-02-06 11:33
🐘 ms-users.php
php
215 B
2020-02-06 11:33
🐘 my-sites.php
php
4.7 KB
2026-05-21 04:46
🐘 nav-menus-old.php
php
1001 B
2026-05-21 04:46
🐘 nav-menus.php
php
49.1 KB
2026-05-21 04:46
🐘 network.php
php
5.4 KB
2024-03-09 03:38
🐘 options-connectors.php
php
1.1 KB
2026-05-21 04:46
🐘 options-discussion.php
php
15.9 KB
2025-12-03 04:15
🐘 options-general.php
php
22.3 KB
2026-05-21 04:46
🐘 options-head.php
php
621 B
2025-04-16 03:36
🐘 options-media.php
php
6.4 KB
2025-12-03 04:15
🐘 options-permalink.php
php
21.9 KB
2026-05-21 04:46
🐘 options-privacy.php
php
9.9 KB
2026-05-21 04:46
🐘 options-reading.php
php
10 KB
2026-05-21 04:46
🐘 options-writing.php
php
9.1 KB
2025-12-03 04:15
🐘 options.php
php
13.9 KB
2026-05-21 04:46
🐘 plugin-editor.php
php
13.8 KB
2025-12-03 04:15
🐘 plugin-install.php
php
7 KB
2024-02-20 12:27
🐘 plugins.php
php
30 KB
2025-04-16 03:36
🐘 post-new.php
php
2.7 KB
2024-06-15 16:34
🐘 post.php
php
10 KB
2025-12-03 04:15
🐘 press-this.php
php
2.4 KB
2026-05-21 04:46
🐘 privacy-policy-guide.php
php
3.7 KB
2023-11-22 22:44
🐘 privacy.php
php
2.8 KB
2026-05-21 04:46
🐘 profile.php
php
283 B
2020-02-06 11:33
🐘 revision.php
php
5.7 KB
2025-12-03 04:15
🐘 setup-config.php
php
17.5 KB
2026-05-21 04:46
🐘 site-editor.php
php
12.1 KB
2026-05-21 04:46
🐘 site-health-info.php
php
4.1 KB
2026-05-21 04:46
🐘 site-health.php
php
10.2 KB
2026-05-21 04:46
🐘 term.php
php
2.2 KB
2022-06-01 22:14
🐘 theme-editor-string.php
php
359 B
2026-05-21 04:46
🐘 theme-editor.php
php
16.9 KB
2025-12-03 04:15
🐘 theme-install.php
php
23.6 KB
2026-05-21 04:46
🐘 themes.php
php
47.9 KB
2025-12-03 04:15
🐘 tools.php
php
3.4 KB
2023-02-23 15:38
🐘 update-core.php
php
45.1 KB
2026-05-21 04:46
🐘 update.php
php
12.8 KB
2026-05-21 04:46
🐘 upgrade-functions.php
php
341 B
2020-02-06 11:33
🐘 upgrade.php
php
6.2 KB
2026-05-21 04:46
🐘 upload.php
php
14.9 KB
2026-05-21 04:46
🐘 user-edit.php
php
40.4 KB
2026-05-21 04:46
🐘 user-new.php
php
24.1 KB
2026-05-21 04:46
🐘 users.php
php
23.4 KB
2026-05-21 04:46
🐘 widgets-form-blocks.php
php
5.1 KB
2025-12-03 04:15
🐘 widgets-form.php
php
19.1 KB
2026-05-21 04:46
🐘 widgets.php
php
1.1 KB
2022-03-22 23:59