2010-10-07 21:34:18 +02:00
|
|
|
<?php
|
2010-10-21 13:14:22 +02:00
|
|
|
/**
|
|
|
|
* Build User Administration Menu.
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Administration
|
|
|
|
* @since 3.1.0
|
|
|
|
*/
|
2010-10-07 21:34:18 +02:00
|
|
|
|
2014-05-07 22:11:15 +02:00
|
|
|
$menu[2] = array(__('Dashboard'), 'exist', 'index.php', '', 'menu-top menu-top-first menu-icon-dashboard', 'menu-dashboard', 'dashicons-dashboard');
|
2010-10-07 21:34:18 +02:00
|
|
|
|
|
|
|
$menu[4] = array( '', 'exist', 'separator1', '', 'wp-menu-separator' );
|
|
|
|
|
2014-05-07 22:11:15 +02:00
|
|
|
$menu[70] = array( __('Profile'), 'exist', 'profile.php', '', 'menu-top menu-icon-users', 'menu-users', 'dashicons-admin-users' );
|
2010-10-07 21:34:18 +02:00
|
|
|
|
2014-02-02 07:19:12 +01:00
|
|
|
$menu[99] = array( '', 'exist', 'separator-last', '', 'wp-menu-separator' );
|
2010-10-07 21:34:18 +02:00
|
|
|
|
|
|
|
$_wp_real_parent_file['users.php'] = 'profile.php';
|
|
|
|
$compat = array();
|
|
|
|
$submenu = array();
|
|
|
|
|
|
|
|
require_once(ABSPATH . 'wp-admin/includes/menu.php');
|