[wp-trac] [WordPress Trac] #19875: Simplify code in WP_Rewrite::page_rewrite_rules()
WordPress Trac
wp-trac at lists.automattic.com
Sun Jan 22 17:14:43 UTC 2012
#19875: Simplify code in WP_Rewrite::page_rewrite_rules()
---------------------------+-----------------------
Reporter: duck_ | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.4
Component: Rewrite Rules | Version:
Severity: normal | Keywords: has-patch
---------------------------+-----------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19875>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list