[wp-trac] [WordPress Trac] #14071: get_file_data() PHPDoc improvements

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 6 05:36:58 UTC 2010


#14071: get_file_data() PHPDoc improvements
--------------------------+-------------------------------------------------
 Reporter:  hakre         |        Owner:          
     Type:  defect (bug)  |       Status:  reopened
 Priority:  normal        |    Milestone:  3.1     
Component:  Inline Docs   |      Version:  3.0     
 Severity:  normal        |   Resolution:          
 Keywords:  needs-patch   |  
--------------------------+-------------------------------------------------
Changes (by scribu):

  * keywords:  has-patch => needs-patch
  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 >  * @param array $default_headers array of regular expressions keyed with
 a fieldname, e.g. <code>array('Name' => 'Plugin Name')</code>

 This is wrong. It's not an array of regular expressions, but of plain
 strings - preg_quote() is used on them.

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


More information about the wp-trac mailing list