Ticket #18805: 18805.patch
| File 18805.patch, 670 bytes (added by , 15 years ago) |
|---|
-
wp-includes/post.php
3447 3447 } 3448 3448 3449 3449 $orderby_array = array(); 3450 $allowed_keys = array('author', 'post_author', 'date', 'post_date', 'title', 'post_title', ' modified',3450 $allowed_keys = array('author', 'post_author', 'date', 'post_date', 'title', 'post_title', 'name', 'post_name', 'modified', 3451 3451 'post_modified', 'modified_gmt', 'post_modified_gmt', 'menu_order', 'parent', 'post_parent', 3452 3452 'ID', 'rand', 'comment_count'); 3453 3453 foreach ( explode( ',', $sort_column ) as $orderby ) {