WordPress.org

Make WordPress Core

Changeset 18845


Ignore:
Timestamp:
09/30/11 18:12:14 (3 years ago)
Author:
ryan
Message:

Restore sorting by post_name in get_pages(). Props SergeyBiryukov. fixes #18805

File:
1 edited

Legend:

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

    r18833 r18845  
    34563456 
    34573457    $orderby_array = array(); 
    3458     $allowed_keys = array('author', 'post_author', 'date', 'post_date', 'title', 'post_title', 'modified', 
     3458    $allowed_keys = array('author', 'post_author', 'date', 'post_date', 'title', 'post_title', 'name', 'post_name', 'modified', 
    34593459                          'post_modified', 'modified_gmt', 'post_modified_gmt', 'menu_order', 'parent', 'post_parent', 
    34603460                          'ID', 'rand', 'comment_count'); 
Note: See TracChangeset for help on using the changeset viewer.