WordPress.org

Make WordPress Core

Changeset 11954


Ignore:
Timestamp:
09/21/09 14:43:31 (5 years ago)
Author:
ryan
Message:

Special case comment type 'all'. Fixes comment search. fixes #10463

File:
1 edited

Legend:

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

    r11945 r11954  
    20432043    elseif ( 'pings' == $type ) 
    20442044        $typesql = "AND ( c.comment_type = 'pingback' OR c.comment_type = 'trackback' )"; 
     2045    elseif ( 'all' == $type ) 
     2046        $typesql = ''; 
    20452047    elseif ( !empty($type) ) 
    20462048        $typesql = $wpdb->prepare("AND c.comment_type = %s", $type); 
Note: See TracChangeset for help on using the changeset viewer.