[wp-trac] [WordPress Trac] #21521: Audit use of set_time_limit()

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 13 18:29:27 UTC 2012


#21521: Audit use of set_time_limit()
--------------------------+--------------------
 Reporter:  ryan          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5
Component:  General       |     Version:  3.4.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+--------------------

Comment (by kurtpayne):

 [http://core.trac.wordpress.org/browser/tags/3.4.1/wp-admin/includes
 /class-wp-upgrader.php#L174 wp-admin/includes/class-wp-upgrader.php line @
 line 174]

 `@set_time_limit( 300 );`

 Changeset [11005] and ticket #7875

 ----

 [http://core.trac.wordpress.org/browser/trunk/wp-admin/includes/update-
 core.php#L517 wp-admin/includes/update-core.php @ line 517]

 `@set_time_limit( 300 );`

 Changeset [9164] and ticket #5560

 ----

 [http://core.trac.wordpress.org/browser/trunk/wp-
 admin/network/sites.php#L97 wp-admin/network/sites.php @ line 97]

 [http://core.trac.wordpress.org/browser/trunk/wp-
 admin/network/sites.php#L103 wp-admin/network/sites.php @ line 103]

 `set_time_limit( 60 );`

 This was traced back to the import of ms-edit.php in changeset [12603]
 One of these came from the mu trac in changeset
 [http://mu.trac.wordpress.org/changeset/860 860].

 The second one was expanded upon in changeset
 [http://mu.trac.wordpress.org/changeset/1237 1237].

 ----

 [http://core.trac.wordpress.org/browser/trunk/wp-includes/class-
 pop3.php#L60 wp-includes/class-pop3.php @ line 60]

 `set_time_limit($timeout);`

 [http://core.trac.wordpress.org/browser/trunk/wp-includes/class-
 pop3.php#L67 wp-includes/class-pop3.php @ line 67]

 `set_time_limit($timeout);`

 These are in a 3rd party library

 ----

 [http://core.trac.wordpress.org/browser/trunk/wp-includes/comment.php wp-
 includes/comment @ line 1817]

 `@ set_time_limit( 60 );`

 It came originally from [http://core.trac.wordpress.org/browser/trunk/wp-
 includes/comment-functions.php?annotate=blame&rev=1964 comment-
 functions.php] and I lost the trail there

 ----

 [http://core.trac.wordpress.org/browser/trunk/wp-
 includes/functions.php#L492 wp-includes/functions.php @ line 492]

 `@set_time_limit( 60 );`

 Original changeset [2416]

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


More information about the wp-trac mailing list