[wp-trac] [WordPress Trac] #14991: extra_rules_top should take priority over extra_permastructs

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 18 12:54:29 UTC 2010


#14991: extra_rules_top should take priority over extra_permastructs
---------------------------+------------------------------------------------
 Reporter:  prettyboymp    |       Owner:                 
     Type:  defect (bug)   |      Status:  new            
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Rewrite Rules  |     Version:  3.1            
 Severity:  normal         |    Keywords:  has-patch      
---------------------------+------------------------------------------------
Changes (by prettyboymp):

  * keywords:  needs-patch => has-patch


Comment:

 Added updated patch.  I went with dd32's suggestion of using a separate
 array for permastructs.

 I switched to using the '+' operator instead of array_merge in the final
 rule merging.  I would think this is the effect that was originally
 desired when this when this was created.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14991#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list