[wp-trac] [WordPress Trac] #51928: Provide plugin/theme update failure data to dot org

WordPress Trac noreply at wordpress.org
Tue Jan 5 22:14:18 UTC 2021


#51928: Provide plugin/theme update failure data to dot org
--------------------------------------+---------------------
 Reporter:  afragen                   |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  5.6.1
Component:  Upgrade/Install           |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------
Changes (by hellofromTonya):

 * keywords:  has-patch dev-feedback has-unit-tests => has-patch has-unit-
     tests


Comment:

 The [https://github.com/WordPress/wordpress-develop/pull/850 PR 850] is
 ready for review. It includes unit tests for:

 - `Theme_Upgrader::install`
 - `Theme_Upgrader::upgrade`
 - `Theme_Upgrader::bulk_upgrade`
 - `Plugin_Upgrader::install`
 - `Plugin_Upgrader::upgrade`
 - `Plugin_Upgrader::bulk_upgrade`

 Hey @dd32, Andy and I were talking about whether to use `time()` or
 `microtime()`. Do you have a preference for the `time_taken` in the error
 data?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51928#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list