Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#38069 closed defect (bug) (duplicate)

WP_Feed_Cache::create() should be declared static

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

Description

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
10 years ago

  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → closed
  • Version trunk → 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.