Opened 15 years ago
Closed 15 years ago
#19875 closed enhancement (fixed)
Simplify code in WP_Rewrite::page_rewrite_rules()
| Reported by: | duck_ | Owned by: | duck_ |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.4 |
| Component: | Rewrite Rules | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch also removes old documentation. Related #16687.