| Server IP : 51.91.236.193 / Your IP : 216.73.216.224 Web Server : Apache System : Linux webm010.cluster128.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : institutah ( 16501) PHP Version : 7.2.34 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/institutah/www/wp-content/plugins/wordpress-seo/src/wordpress/ |
Upload File : |
<?php
/**
* Yoast SEO Plugin File.
*
* @package Yoast\YoastSEO\WordPress
*/
namespace Yoast\WP\Free\WordPress;
/**
* Wrapper class for WordPress globals.
* This consists of factory functions to inject WP globals into the dependency container.
*/
class Wrapper {
/**
* Wrapper method for returning the wpdb object for use in dependency injection.
*
* @return \wpdb The wpdb global.
*/
public static function get_wpdb() {
global $wpdb;
return $wpdb;
}
/**
* Wrapper method for returning the wp_query object for use in dependency injection.
*
* @return \WP_Query The wp_query global.
*/
public static function get_wp_query() {
global $wp_query;
return $wp_query;
}
}