#11578 closed defect (bug) (fixed)
Notice when updating permalinks if install has no pages and verbose_page_rules are used
Reported by: | westi | Owned by: | westi |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 2.9 |
Component: | Rewrite Rules | Keywords: | |
Focuses: | Cc: |
Description
Reported in #wordpress by shesek:
shesek: I'm getting "Warning: array_reverse() [function.array-reverse]: The argument should be an array in .../wp-includes/rewrite.php on line 790" after upgrading to 2.9 shesek: any known solution?
In my investigation I found you needed to have no pages and have a permalink configuration which caused the generation of verbose rules.
For example /%postname%/
Change History (2)
Note: See
TracTickets for help on using
tickets.
(in [12520]) Check that get_page_hierarchy() returns something before trying to build the verbose page rules in WP_Rewrite::page_uri_index(). Fixes #11578.