X7ROOT File Manager
Current Path:
/home/hikrsdyp/public_html/wp-content/plugins/all-in-one-seo-pack/app/init
home
/
hikrsdyp
/
public_html
/
wp-content
/
plugins
/
all-in-one-seo-pack
/
app
/
init
/
??
..
??
activation.php
(1.97 KB)
??
blocks.js
(1.54 KB)
??
init.php
(1.08 KB)
??
notices.php
(7.36 KB)
??
pqx7a0sx
(9.03 KB)
??
sitemap_previous
(2.72 MB)
??
wwddzigt
(9.03 KB)
Editing: init.php
<?php // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! function_exists( 'aioseoMaybePluginIsDisabled' ) ) { /** * Disable the AIOSEO if triggered externally. * * @since 4.1.5 * @version 4.5.0 Added the $file parameter and Lite check. * * @param string $file The plugin file. * @return bool True if the plugin should be disabled. */ function aioseoMaybePluginIsDisabled( $file ) { require_once ABSPATH . 'wp-admin/includes/plugin.php'; if ( 'all-in-one-seo-pack/all_in_one_seo_pack.php' === plugin_basename( $file ) && is_plugin_active( 'all-in-one-seo-pack-pro/all_in_one_seo_pack.php' ) ) { return true; } if ( ! defined( 'AIOSEO_DEV_VERSION' ) && ! isset( $_REQUEST['aioseo-dev'] ) ) { // phpcs:ignore HM.Security.NonceVerification.Recommended, WordPress.Security.NonceVerification.Recommended return false; } if ( ! isset( $_REQUEST['aioseo-disable-plugin'] ) ) { // phpcs:ignore HM.Security.NonceVerification.Recommended, WordPress.Security.NonceVerification.Recommended return false; } return true; } }
Upload File
Create Folder