Make WordPress Core


Ignore:
Timestamp:
12/14/2011 05:36:38 PM (12 years ago)
Author:
ryan
Message:

Remove extraneous spaces. Props kenan3008, dimadin. fixes #19501 #19433

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/plugin.php

    r19593 r19596  
    883883    $new_menu = array( $menu_title, $capability, $menu_slug, $page_title, 'menu-top ' . $hookname, $hookname, $icon_url );
    884884
    885     if ( null === $position  )
     885    if ( null === $position )
    886886        $menu[] = $new_menu;
    887887    else
     
    989989    // parent file someone is trying to link back to the parent manually. In
    990990    // this case, don't automatically add a link back to avoid duplication.
    991     if (!isset( $submenu[$parent_slug] ) && $menu_slug != $parent_slug  ) {
     991    if (!isset( $submenu[$parent_slug] ) && $menu_slug != $parent_slug ) {
    992992        foreach ( (array)$menu as $parent_menu ) {
    993993            if ( $parent_menu[2] == $parent_slug && current_user_can( $parent_menu[1] ) )
Note: See TracChangeset for help on using the changeset viewer.