Make WordPress Core

Opened 9 years ago

Closed 7 years ago

#41615 closed enhancement (duplicate)

Small clean-up in cache.php

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

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 9 years ago.

Download all attachments as: .zip

Change History (3)

@neoxx
9 years ago

#1 @bradleyt
7 years ago

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

#2 @SergeyBiryukov
7 years ago

  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed

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.