WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#28600 closed enhancement (fixed)

Simplify code for calculating plugin API check timeout.

Reported by: leewillis77 Owned by: SergeyBiryukov
Milestone: 4.0 Priority: normal
Severity: normal Version: 4.0
Component: Upgrade/Install Keywords: has-patch commit
Focuses: Cc:

Description

In #25788 code was introduced that adjusted the timeout for plugin/theme API requests based on the number of installed themes / plugins. When I read the changeset it seemed it could be expressed more simply. Patch attached.

Attachments (1)

28600.diff (890 bytes) - added by leewillis77 6 years ago.
Patch

Download all attachments as: .zip

Change History (3)

@leewillis77
6 years ago

Patch

#1 @SergeyBiryukov
6 years ago

  • Keywords has-patch commit added
  • Milestone changed from Awaiting Review to 4.0

#2 @SergeyBiryukov
6 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 28805:

Simplify the code for calculating plugin API check timeout.

props leewillis77.
fixes #28600.

Note: See TracTickets for help on using tickets.