mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
git-svn-id: https://develop.svn.wordpress.org/trunk@2328 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user