WordPress.org

Make WordPress Core


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

Remove redundant isset() and empty() checks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/archive.php

    r12180 r13770  
    2525      <?php /* If this is an author archive */ } elseif (is_author()) { ?>
    2626        <h2 class="pagetitle">Author Archive</h2>
    27       <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
     27      <?php /* If this is a paged archive */ } elseif ( !empty($_GET['paged']) ) { ?>
    2828        <h2 class="pagetitle">Blog Archives</h2>
    2929      <?php } ?>
Note: See TracChangeset for help on using the changeset viewer.