mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
git-svn-id: http://svn.automattic.com/wordpress/trunk@2328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ab9fa0a56b
commit
f4dafc015f
@ -546,7 +546,7 @@ function save_mod_rewrite_rules() {
|
||||
|
||||
function generate_page_rewrite_rules() {
|
||||
global $wpdb;
|
||||
$posts = $wpdb->get_results("SELECT ID, post_name FROM $wpdb->posts WHERE post_status = 'static'");
|
||||
$posts = $wpdb->get_results("SELECT ID, post_name FROM $wpdb->posts WHERE post_status = 'static' ORDER BY post_parent DESC");
|
||||
|
||||
$page_rewrite_rules = array();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user