WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/13/2009 10:01:33 PM (9 years ago)
Author:
ryan
Message:

Remove category ordering. Props filosofo. fixes #9228

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/query.php

    r10600 r10779  
    20202020        } else {
    20212021            // Used to filter values
    2022             $allowed_keys = array('author', 'date', 'category', 'title', 'modified', 'menu_order', 'parent', 'ID', 'rand');
     2022            $allowed_keys = array('author', 'date', 'title', 'modified', 'menu_order', 'parent', 'ID', 'rand');
    20232023            if ( !empty($q['meta_key']) ) {
    20242024                $allowed_keys[] = $q['meta_key'];
Note: See TracChangeset for help on using the changeset viewer.