Make WordPress Core


Ignore:
Timestamp:
02/23/2008 07:20:08 AM (17 years ago)
Author:
matt
Message:

Don't show filter stuff when we're on a single post view.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit.php

    r6950 r6992  
    139139<?php wp_nonce_field('bulk-posts'); ?>
    140140<?php
    141 
     141if ( !isset( $_GET['p'] ) ) {
    142142$arc_query = "SELECT DISTINCT YEAR(post_date) AS yyear, MONTH(post_date) AS mmonth FROM $wpdb->posts WHERE post_type = 'post' ORDER BY post_date DESC";
    143143
     
    170170<?php wp_dropdown_categories('show_option_all='.__('View all categories').'&hide_empty=1&hierarchical=1&show_count=1&selected='.$cat);?>
    171171<input type="submit" id="post-query-submit" value="<?php _e('Filter'); ?>" class="button-secondary" />
    172 
     172<?php } ?>
    173173</div>
    174174
Note: See TracChangeset for help on using the changeset viewer.