Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (6 years ago)
Author:
pento
Message:

Code is Poetry.
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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/user/menu.php

    r28284 r42343  
    88 */
    99
    10 $menu[2] = array(__('Dashboard'), 'exist', 'index.php', '', 'menu-top menu-top-first menu-icon-dashboard', 'menu-dashboard', 'dashicons-dashboard');
     10$menu[2] = array( __( 'Dashboard' ), 'exist', 'index.php', '', 'menu-top menu-top-first menu-icon-dashboard', 'menu-dashboard', 'dashicons-dashboard' );
    1111
    1212$menu[4] = array( '', 'exist', 'separator1', '', 'wp-menu-separator' );
    1313
    14 $menu[70] = array( __('Profile'), 'exist', 'profile.php', '', 'menu-top menu-icon-users', 'menu-users', 'dashicons-admin-users' );
     14$menu[70] = array( __( 'Profile' ), 'exist', 'profile.php', '', 'menu-top menu-icon-users', 'menu-users', 'dashicons-admin-users' );
    1515
    1616$menu[99] = array( '', 'exist', 'separator-last', '', 'wp-menu-separator' );
    1717
    1818$_wp_real_parent_file['users.php'] = 'profile.php';
    19 $compat = array();
    20 $submenu = array();
     19$compat                            = array();
     20$submenu                           = array();
    2121
    22 require_once(ABSPATH . 'wp-admin/includes/menu.php');
     22require_once( ABSPATH . 'wp-admin/includes/menu.php' );
Note: See TracChangeset for help on using the changeset viewer.