Ticket #11661 (closed defect (bug): fixed)
warning on line 790 of wp-includes/rewrite.php
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.9.1 |
| Component: | Rewrite Rules | Version: | 2.9 |
| Severity: | critical | Keywords: | has-patch blocker |
| Cc: |
Description
on sites with verbose rules and no static pages, the rewrite rule generator complains that it cannot array_reverse a non-array.
the culprit is get_page_hierarchy():
http://core.trac.wordpress.org/browser/trunk/wp-includes/post.php#L2401
it should return an empty array instead of null.
Attachments
Change History
- Keywords has-patch blocker added
patches attached for trunk and 2.9 branch.
- Status changed from new to closed
- Resolution set to fixed
Oops, looks like this is the same as #11578, which already had a trunk commit.
Note: See
TracTickets for help on using
tickets.

