[wp-trac] Re: [WordPress Trac] #7372: Plugin update check running on each pageload is slow

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 22 17:30:06 GMT 2008


#7372: Plugin update check running on each pageload is slow
--------------------------------------+-------------------------------------
 Reporter:  DD32                      |        Owner:  anonymous
     Type:  defect                    |       Status:  new      
 Priority:  normal                    |    Milestone:  2.7      
Component:  Administration            |      Version:  2.6      
 Severity:  normal                    |   Resolution:           
 Keywords:  needs-patch dev-feedback  |  
--------------------------------------+-------------------------------------
Comment (by santosj):

 {{{// Keep reading the contents of the file until End of File is
 // reached, or we grabbed all of the required plugin data.
 while( !feof($fp) && !plugin_has_required_fields($contents) )
         $contents .= fread( $fp, 1024 );
 }}}

 Can be

 {{{$contents .= fread( $fp, 4096 );}}}

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


More information about the wp-trac mailing list