[wp-trac] [WordPress Trac] #49291: Code issues with set_time_limit
WordPress Trac
noreply at wordpress.org
Sat Jan 25 23:24:12 UTC 2020
#49291: Code issues with set_time_limit
----------------------------+-----------------------------
Reporter: madpeter | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 5.3.2
Severity: major | Keywords:
Focuses: performance |
----------------------------+-----------------------------
file: wp-admin\includes\ajax-actions.php
function: wp_ajax_get_revision_diffs
line: 3425
Issue: no time limit set
Suggestion: set value to 120
file: wp-includes\class-pop3.php
function: __construct
line: 63
Issue: timeout value is not tested and can be set to 9999999 or a negitive
value that acts the same as 0
Suggestion: Force a range for the value (1 to 120)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49291>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list