[wp-trac] [WordPress Trac] #49014: Silence set_time_limit() call in wp-admin/includes/class-wp-upgrader.php
WordPress Trac
noreply at wordpress.org
Tue Dec 24 04:03:22 UTC 2019
#49014: Silence set_time_limit() call in wp-admin/includes/class-wp-upgrader.php
-----------------------------+------------------------------
Reporter: autotutorial | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version:
Severity: trivial | Resolution:
Keywords: needs-patch | Focuses:
-----------------------------+------------------------------
Comment (by autotutorial):
Thanks for your answer from WordPress 5.2 the minimum php requirement is
5.6.20, I wonder if you have any precedent to temporarily disable
error_reporting(0) in order not to use the suppression operator (it's
slow).
Obviously for all those probable functions disabled but necessary for
WordPress ini_get, ini_set, chmod, buffer, temporary directory etc.
Downloading the file the weight is known but the Download and Upload speed
is unknown, you could add a pre-calculation for the zip files (WordPress
update, plugin, repository theme)
, subsequently calculate the variable speed.
For the second question, I am afraid there is not much to do to create the
code to handle this because it is very complex.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49014#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list