[wp-trac] [WordPress Trac] #11507: Usefull errormessage is being surpressed on cron include

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 5 21:35:36 UTC 2010


#11507: Usefull errormessage is being surpressed on cron include
--------------------------+-------------------------------------------------
 Reporter:  hakre         |       Owner:             
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  3.0        
Component:  General       |     Version:  2.9        
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------

Comment(by hakre):

 +1 for just removing the @ operator here (to actually get a warning in
 case the file is not there) and while -1 for checking the file existance
 via file_exists because I trust that include will do it's job properly.
 Otherwise the @ operator should stay there an drop down the performance on
 each request for cron.

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


More information about the wp-trac mailing list