[wp-trac] [WordPress Trac] #18991: Unnecessarily cryptic code when checking pagename= for verbose rules

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 19 22:49:47 UTC 2011


#18991: Unnecessarily cryptic code when checking pagename= for verbose rules
---------------------------+------------------
 Reporter:  duck_          |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  3.3
Component:  Rewrite Rules  |     Version:  3.3
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+------------------

Comment (by nacin):

 In [19017]:
 {{{
 #!CommitTicketReference repository="" revision="19017"
 We know that pagename is being assigned to $matches-something, so skip the
 variable variable. props duck_. see #18991.
 }}}

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


More information about the wp-trac mailing list