Make WordPress Core

Opened 8 years ago

Closed 7 years ago

#38069 closed defect (bug) (duplicate)

WP_Feed_Cache::create() should be declared static

Reported by: fabifott's profile fabifott Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.8
Component: General Keywords:
Focuses: Cc:


The factory function WP_Feed_Cache::create() is not declared static.

It should be:

        public static function create($location, $filename, $extension) {
                return new WP_Feed_Cache_Transient($location, $filename, $extension);

Change History (1)

#1 @jeremyfelt
7 years ago

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

Hi @fabifott, thanks for opening a ticket. This issue is being tracked as part of #29204.

Note: See TracTickets for help on using tickets.