Ticket #5458: no_hier_pages.diff
| File no_hier_pages.diff, 426 bytes (added by ryan, 4 years ago) |
|---|
-
wp-includes/post-template.php
318 318 $r['exclude'] = implode(',', apply_filters('wp_list_pages_excludes', explode(',', $r['exclude']))); 319 319 320 320 // Query pages. 321 $r['hierarchical'] = 0; 321 322 $pages = get_pages($r); 322 323 323 324 if ( !empty($pages) ) {
