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-includes/post-template.php

    r13494 r13770  
    829829
    830830    // Show Home in the menu
    831     if ( isset($args['show_home']) && ! empty($args['show_home']) ) {
     831    if ( ! empty($args['show_home']) ) {
    832832        if ( true === $args['show_home'] || '1' === $args['show_home'] || 1 === $args['show_home'] )
    833833            $text = __('Home');
Note: See TracChangeset for help on using the changeset viewer.