Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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:


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)

#1 @westi
10 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(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.

#2 @ryan
10 years ago

See also #11661

Note: See TracTickets for help on using tickets.