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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi @fabifott, thanks for opening a ticket. This issue is being tracked as part of #29204.