File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/Core.php.tar
var/www/vhosts/uyarreklam.com.tr/httpdocs/wp-includes/SimplePie/Core.php 0000644 00000004273 15153464161 0022451 0 ustar 00 <?php
/**
* SimplePie
*
* A PHP-Based RSS and Atom Feed Framework.
* Takes the hard work out of managing a complete RSS/Atom solution.
*
* Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this list of
* conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright notice, this list
* of conditions and the following disclaimer in the documentation and/or other materials
* provided with the distribution.
*
* * Neither the name of the SimplePie Team nor the names of its contributors may be used
* to endorse or promote products derived from this software without specific prior
* written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
* AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS
* AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
* @package SimplePie
* @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue
* @author Ryan Parman
* @author Sam Sneddon
* @author Ryan McCue
* @link http://simplepie.org/ SimplePie
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
*/
/**
* SimplePie class.
*
* Class for backward compatibility.
*
* @deprecated Use {@see SimplePie} directly
* @package SimplePie
* @subpackage API
*/
class SimplePie_Core extends SimplePie
{
} www/vhosts/uyarreklam.com.tr/httpdocs/wp-content/plugins/broken-link-checker-seo/app/Core/Core.php 0000644 00000002637 15154276137 0030110 0 ustar 00 var <?php
namespace AIOSEO\BrokenLinkChecker\Core;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
use AIOSEO\BrokenLinkChecker\Options;
use AIOSEO\BrokenLinkChecker\Utils;
/**
* Loads core classes.
*
* @since 1.0.0
*/
class Core {
/**
* DB class instance.
*
* @since 1.1.0
*
* @var Database
*/
public $db = null;
/**
* Filesystem class instance.
*
* @since 1.1.0
*
* @var Filesystem
*/
public $fs = null;
/**
* Assets class instance.
*
* @since 1.1.0
*
* @var Assets
*/
public $assets = null;
/**
* Cache class instance.
*
* @since 1.1.0
*
* @var Cache
*/
public $cache = null;
/**
* NetworkCache class instance.
*
* @since 1.1.0
*
* @var NetworkCache
*/
public $networkCache = null;
/**
* Options Cache class instance.
*
* @since 1.1.0
*
* @var \AIOSEO\BrokenLinkChecker\Options\Cache
*/
public $optionsCache = null;
/**
* Uninstall class instance.
*
* @since 1.1.0
*
* @var Uninstall
*/
public $uninstall = null;
/**
* Class constructor.
*
* @since 1.0.0
*/
public function __construct() {
$this->db = new Database();
$this->fs = new Filesystem( $this );
$this->assets = new Assets( $this );
$this->cache = new Cache();
$this->networkCache = new NetworkCache();
$this->optionsCache = new Options\Cache();
$this->uninstall = new Uninstall();
}
} vhosts/uyarreklam.com.tr/httpdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Core/Core.php 0000644 00000005345 15155106166 0030364 0 ustar 00 var/www <?php
namespace AIOSEO\Plugin\Common\Core;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
use AIOSEO\Plugin\Common\Options;
use AIOSEO\Plugin\Common\Utils;
/**
* Loads core classes.
*
* @since 4.1.9
*/
class Core {
/**
* List of AIOSEO tables.
*
* @since 4.2.5
*
* @var array
*/
private $aioseoTables = [
'aioseo_cache',
'aioseo_crawl_cleanup_blocked_args',
'aioseo_crawl_cleanup_logs',
'aioseo_links',
'aioseo_links_suggestions',
'aioseo_notifications',
'aioseo_posts',
'aioseo_redirects',
'aioseo_redirects_404',
'aioseo_redirects_404_logs',
'aioseo_redirects_hits',
'aioseo_redirects_logs',
'aioseo_terms',
'aioseo_search_statistics_objects',
'aioseo_revisions',
'aioseo_seo_analyzer_results'
];
/**
* Filesystem class instance.
*
* @since 4.2.7
*
* @var Utils\Filesystem
*/
public $fs = null;
/**
* Assets class instance.
*
* @since 4.2.7
*
* @var Utils\Assets
*/
public $assets = null;
/**
* DB class instance.
*
* @since 4.2.7
*
* @var Utils\Database
*/
public $db = null;
/**
* Cache class instance.
*
* @since 4.2.7
*
* @var Utils\Cache
*/
public $cache = null;
/**
* NetworkCache class instance.
*
* @since 4.2.7
*
* @var Utils\NetworkCache
*/
public $networkCache = null;
/**
* CachePrune class instance.
*
* @since 4.2.7
*
* @var Utils\CachePrune
*/
public $cachePrune = null;
/**
* Options Cache class instance.
*
* @since 4.2.7
*
* @var Options\Cache
*/
public $optionsCache = null;
/**
* Class constructor.
*
* @since 4.1.9
*/
public function __construct() {
$this->fs = new Utils\Filesystem( $this );
$this->assets = new Utils\Assets( $this );
$this->db = new Utils\Database();
$this->cache = new Utils\Cache();
$this->networkCache = new Utils\NetworkCache();
$this->cachePrune = new Utils\CachePrune();
$this->optionsCache = new Options\Cache();
}
/**
* Get all the DB tables with prefix.
*
* @since 4.2.5
*
* @return array An array of tables.
*/
public function getDbTables() {
global $wpdb;
$tables = [];
foreach ( $this->aioseoTables as $tableName ) {
$tables[] = $wpdb->prefix . $tableName;
}
return $tables;
}
/**
* Check if the current request is uninstalling (deleting) AIOSEO.
*
* @since 4.3.7
*
* @return bool Whether AIOSEO is being uninstalled/deleted or not.
*/
public function isUninstalling() {
if (
defined( 'AIOSEO_FILE' ) &&
defined( 'WP_UNINSTALL_PLUGIN' )
) {
// Make sure `plugin_basename()` exists.
include_once ABSPATH . 'wp-admin/includes/plugin.php';
return WP_UNINSTALL_PLUGIN === plugin_basename( AIOSEO_FILE );
}
return false;
}
}