mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-08 08:31:48 +01:00
WordPress' code just... wasn't. This is now dealt with. Props jrf, pento, netweb, GaryJ, jdgrimes, westonruter, Greg Sherwood from PHPCS, and everyone who's ever contributed to WPCS and PHPCS. Fixes #41057. Built from https://develop.svn.wordpress.org/trunk@42343 git-svn-id: http://core.svn.wordpress.org/trunk@42172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
23 lines
761 B
PHP
23 lines
761 B
PHP
<?php
|
|
/**
|
|
* Build User Administration Menu.
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Administration
|
|
* @since 3.1.0
|
|
*/
|
|
|
|
$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' );
|
|
|
|
$menu[70] = array( __( 'Profile' ), 'exist', 'profile.php', '', 'menu-top menu-icon-users', 'menu-users', 'dashicons-admin-users' );
|
|
|
|
$menu[99] = array( '', 'exist', 'separator-last', '', 'wp-menu-separator' );
|
|
|
|
$_wp_real_parent_file['users.php'] = 'profile.php';
|
|
$compat = array();
|
|
$submenu = array();
|
|
|
|
require_once( ABSPATH . 'wp-admin/includes/menu.php' );
|