WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r10413 r10150  
    122122            $plugin_data['Title'] = $plugin_data['Name'];
    123123
    124         if ( ! empty($plugin_data['AuthorURI']) && ! empty($plugin_data['Author']) )
     124        if ( ! empty($plugin_data['AuthorURI']) )
    125125            $plugin_data['Author'] = '<a href="' . $plugin_data['AuthorURI'] . '" title="' . __( 'Visit author homepage' ) . '">' . $plugin_data['Author'] . '</a>';
    126126
     
    863863    $parent = get_admin_page_parent();
    864864
    865     if ( !isset( $plugin_page ) && isset( $_wp_submenu_nopriv[$parent][$pagenow] ) )
     865    if ( isset( $_wp_submenu_nopriv[$parent][$pagenow] ) )
    866866        return false;
    867867
Note: See TracChangeset for help on using the changeset viewer.