文件操作 - functions.php
返回文件管理
返回主菜单
删除本文件
文件: /var/www/00a9a8c414a2c84b69ccb6044f0fc34f/Web/wp-content/plugins/wordpress-seo/src/functions.php
编辑文件内容
<?php /** * WPSEO plugin file. * * @package WPSEO\Internals */ if ( ! defined( 'WPSEO_VERSION' ) ) { header( 'Status: 403 Forbidden' ); header( 'HTTP/1.1 403 Forbidden' ); exit(); } use Yoast\WP\SEO\Main; if ( is_dir( WPSEO_PATH . YOAST_VENDOR_PREFIX_DIRECTORY ) ) { require_once WPSEO_PATH . YOAST_VENDOR_PREFIX_DIRECTORY . '/guzzlehttp/guzzle/src/functions.php'; } /** * Retrieves the main instance. * * @phpcs:disable WordPress.NamingConventions -- Should probably be renamed, but leave for now. * * @return Main The main instance. */ function YoastSEO() { // phpcs:enable static $main; if ( $main === null ) { $main = new Main(); $main->load(); } return $main; }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件