WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 4 weeks ago

#41615 closed enhancement (duplicate)

Small clean-up in cache.php

Reported by: 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 2 years ago.

Download all attachments as: .zip

Change History (3)

@neoxx
2 years ago

#1 @bradleyt
4 weeks ago

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

#2 @SergeyBiryukov
4 weeks 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.