Opened 13 years ago
Closed 13 years ago
#19875 closed enhancement (fixed)
Simplify code in WP_Rewrite::page_rewrite_rules()
Reported by: | duck_ | Owned by: | duck_ |
---|---|---|---|
Milestone: | 3.4 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Rewrite Rules | Keywords: | has-patch |
Focuses: | Cc: |
Description
WP_Rewrite::page_rewrite_rules() performs an unnecessary array_merge() on an empty array. It can be simplified to make it easier to read and understand.
Attachments (2)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Patch also removes old documentation. Related #16687.