Make WordPress Core


Ignore:
Timestamp:
03/19/2010 09:29:21 PM (15 years ago)
Author:
nacin
Message:

Remove redundant isset() and empty() checks.

File:
1 edited

Legend:

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

    r13769 r13770  
    12441244    global $plugin_page;
    12451245
    1246     if ( isset( $title ) && !empty ( $title ) ) {
     1246    if ( ! empty ( $title ) )
    12471247        return $title;
    1248     }
    12491248
    12501249    $hook = get_plugin_page_hook( $plugin_page, $pagenow );
     
    12911290            }
    12921291        }
    1293         if ( !isset($title) || empty ( $title ) ) {
     1292        if ( empty ( $title ) ) {
    12941293            foreach ( $menu as $menu_array ) {
    12951294                if ( isset( $plugin_page ) &&
Note: See TracChangeset for help on using the changeset viewer.