[wp-trac] Re: [WordPress Trac] #10132: PHP Warning at menu-header.php line 118

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 16 16:31:11 GMT 2009


#10132: PHP Warning at menu-header.php line 118
------------------------------------------------------+---------------------
 Reporter:  creativenadir                             |        Owner:          
     Type:  defect (bug)                              |       Status:  reopened
 Priority:  high                                      |    Milestone:  2.8.1   
Component:  Administration                            |      Version:  2.8     
 Severity:  major                                     |   Resolution:          
 Keywords:  has-patch reporter-feedback needs-review  |  
------------------------------------------------------+---------------------

Comment(by peaceablewhale):

 Using preg_replace('/\?.*$/','',SUBJECT) seems to have better code
 readability.

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


More information about the wp-trac mailing list