Make WordPress Core

Opened 7 years ago

Closed 5 years ago

#41615 closed enhancement (duplicate)

Small clean-up in cache.php

Reported by: neoxx's profile neoxx Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Cache API Keywords: has-patch
Focuses: coding-standards Cc:

Description

Following the current minimum requirement of PHP version 5.2.4 or greater (cf. https://codex.wordpress.org/Template:Server_requirements) and the absence of a PHP4 constructor, I think we can safely remove some obsolete code in cache.php.

Patch is attached.

Attachments (1)

41615.diff (680 bytes) - added by neoxx 7 years ago.

Download all attachments as: .zip

Change History (3)

@neoxx
7 years ago

#1 @bradleyt
5 years ago

  • Focuses coding-standards added
  • Keywords has-patch added
  • Type changed from defect (bug) to enhancement
  • Version 4.9 deleted

#2 @SergeyBiryukov
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi there, thanks for the patch! Sorry it took so long for someone to get back to you.

We're already tracking this enhancement in #21402.

Note: See TracTickets for help on using tickets.