✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ webm004.cluster127.gra.hosting.ovh.net ​🇻​♯➤ 6.18.42-ovh-vps-grsec-zfs+ #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 54.36.91.62 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.223
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ _dyuweyrj4,_dyuweyrj4r,dl

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/docteuh/www/infrastructure//loader.php
<?php

namespace Yoast\WP\SEO;

use Throwable;
use WP_CLI;
use YoastSEO_Vendor\Symfony\Component\DependencyInjection\ContainerInterface;

/**
 * Class that manages loading integrations if and only if all their conditionals are met.
 */
class Loader {

	/**
	 * The registered integrations.
	 *
	 * @var string[]
	 */
	protected $integrations = [];

	/**
	 * The registered integrations.
	 *
	 * @var string[]
	 */
	protected $initializers = [];

	/**
	 * The registered routes.
	 *
	 * @var string[]
	 */
	protected $routes = [];

	/**
	 * The registered commands.
	 *
	 * @var string[]
	 */
	protected $commands = [];

	/**
	 * The registered migrations.
	 *
	 * @var string[]
	 */
	protected $migrations = [];

	/**
	 * The dependency injection container.
	 *
	 * @var ContainerInterface
	 */
	protected $container;

	/**
	 * Loader constructor.
	 *
	 * @param ContainerInterface $container The dependency injection container.
	 */
	public function __construct( ContainerInterface $container ) {
		$this->container = $container;
	}

	/**
	 * Registers an integration.
	 *
	 * @param string $integration_class The class name of the integration to be loaded.
	 *
	 * @return void
	 */
	public function register_integration( $integration_class ) {
		$this->integrations[] = $integration_class;
	}

	/**
	 * Registers an initializer.
	 *
	 * @param string $initializer_class The class name of the initializer to be loaded.
	 *
	 * @return void
	 */
	public function register_initializer( $initializer_class ) {
		$this->initializers[] = $initializer_class;
	}

	/**
	 * Registers a route.
	 *
	 * @param string $route_class The class name of the route to be loaded.
	 *
	 * @return void
	 */
	public function register_route( $route_class ) {
		$this->routes[] = $route_class;
	}

	/**
	 * Registers a command.
	 *
	 * @param string $command_class The class name of the command to be loaded.
	 *
	 * @return void
	 */
	public function register_command( $command_class ) {
		$this->commands[] = $command_class;
	}

	/**
	 * Registers a migration.
	 *
	 * @param string $plugin          The plugin the migration belongs to.
	 * @param string $version         The version of the migration.
	 * @param string $migration_class The class name of the migration to be loaded.
	 *
	 * @return void
	 */
	public function register_migration( $plugin, $version, $migration_class ) {
		if ( ! \array_key_exists( $plugin, $this->migrations ) ) {
			$this->migrations[ $plugin ] = [];
		}

		$this->migrations[ $plugin ][ $version ] = $migration_class;
	}

	/**
	 * Loads all registered classes if their conditionals are met.
	 *
	 * @return void
	 */
	public function load() {
		$this->load_initializers();

		if ( ! \did_action( 'init' ) ) {
			\add_action( 'init', [ $this, 'load_integrations' ] );
		}
		else {
			$this->load_integrations();
		}

		\add_action( 'rest_api_init', [ $this, 'load_routes' ] );

		if ( \defined( 'WP_CLI' ) && \WP_CLI ) {
			$this->load_commands();
		}
	}

	/**
	 * Returns all registered migrations.
	 *
	 * @param string $plugin The plugin to get the migrations for.
	 *
	 * @return string[]|false The registered migrations. False if no migrations were registered.
	 */
	public function get_migrations( $plugin ) {
		if ( ! \array_key_exists( $plugin, $this->migrations ) ) {
			return false;
		}

		return $this->migrations[ $plugin ];
	}

	/**
	 * Loads all registered commands.
	 *
	 * Commands that opt in to conditional loading by implementing
	 * Loadable_Interface are skipped when their conditionals are not met.
	 *
	 * @return void
	 */
	protected function load_commands() {
		foreach ( $this->commands as $class ) {
			if ( \is_subclass_of( $class, Loadable_Interface::class )
				&& ! $this->conditionals_are_met( $class )
			) {
				continue;
			}

			$command = $this->get_class( $class );

			if ( $command === null ) {
				continue;
			}

			WP_CLI::add_command( $class::get_namespace(), $command );
		}
	}

	/**
	 * Loads all registered initializers if their conditionals are met.
	 *
	 * @return void
	 */
	protected function load_initializers() {
		foreach ( $this->initializers as $class ) {
			if ( ! $this->conditionals_are_met( $class ) ) {
				continue;
			}

			$initializer = $this->get_class( $class );

			if ( $initializer === null ) {
				continue;
			}

			$initializer->initialize();
		}
	}

	/**
	 * Loads all registered integrations if their conditionals are met.
	 *
	 * @return void
	 */
	public function load_integrations() {
		foreach ( $this->integrations as $class ) {
			if ( ! $this->conditionals_are_met( $class ) ) {
				continue;
			}

			$integration = $this->get_class( $class );

			if ( $integration === null ) {
				continue;
			}

			$integration->register_hooks();
		}
	}

	/**
	 * Loads all registered routes if their conditionals are met.
	 *
	 * @return void
	 */
	public function load_routes() {
		foreach ( $this->routes as $class ) {
			if ( ! $this->conditionals_are_met( $class ) ) {
				continue;
			}

			$route = $this->get_class( $class );

			if ( $route === null ) {
				continue;
			}

			$route->register_routes();
		}
	}

	/**
	 * Checks if all conditionals of a given loadable are met.
	 *
	 * @param string $loadable_class The class name of the loadable.
	 *
	 * @return bool Whether all conditionals of the loadable are met.
	 */
	protected function conditionals_are_met( $loadable_class ) {
		// In production environments do not fatal if the class does not exist but log and fail gracefully.
		if ( \YOAST_ENVIRONMENT === 'production' && ! \class_exists( $loadable_class ) ) {
			if ( \defined( 'WP_DEBUG' ) && \WP_DEBUG ) {
				// phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log
				\error_log(
					\sprintf(
						/* translators: %1$s expands to Yoast SEO, %2$s expands to the name of the class that could not be found. */
						\__( '%1$s attempted to load the class %2$s but it could not be found.', 'wordpress-seo' ),
						'Yoast SEO',
						$loadable_class,
					),
				);
			}
			return false;
		}

		$conditionals = $loadable_class::get_conditionals();
		foreach ( $conditionals as $class ) {
			$conditional = $this->get_class( $class );
			if ( $conditional === null || ! $conditional->is_met() ) {
				return false;
			}
		}

		return true;
	}

	/**
	 * Gets a class from the container.
	 *
	 * @param string $class_name The class name.
	 *
	 * @return object|null The class or, in production environments, null if it does not exist.
	 *
	 * @throws Throwable If the class does not exist in development environments.
	 */
	protected function get_class( $class_name ) {
		try {
			return $this->container->get( $class_name );
		} catch ( Throwable $e ) {
			// In production environments do not fatal if the class could not be constructed but log and fail gracefully.
			if ( \YOAST_ENVIRONMENT === 'production' ) {
				if ( \defined( 'WP_DEBUG' ) && \WP_DEBUG ) {
					// phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log
					\error_log( $e->getMessage() );
				}
				return null;
			}
			throw $e;
		}
	}
}


Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
23 Sep 2026 12.35 PM
docteuh / users
0777
DeactivationModal
--
14 Sep 2026 3.00 PM
docteuh / users
0755
Handler
--
21 Sep 2026 11.04 PM
docteuh / users
0755
Hotel-Icon-Set-v1.0
--
16 Sep 2026 5.24 PM
docteuh / users
0755
Resources
--
13 Sep 2026 12.43 PM
docteuh / users
0755
Search_Console
--
13 Sep 2026 9.47 PM
docteuh / users
0755
apiclient-services
--
11 Sep 2026 11.41 AM
docteuh / users
0755
application
--
14 Sep 2026 3.00 PM
docteuh / users
0755
assets
--
19 Sep 2026 4.57 AM
docteuh / users
0755
capabilities
--
22 Sep 2026 9.04 PM
docteuh / users
0755
cgi-bin
--
21 Sep 2026 12.13 PM
docteuh / users
0755
chosen
--
19 Sep 2026 4.55 AM
docteuh / users
0755
codemirror
--
23 Sep 2026 12.07 PM
docteuh / users
0755
css
--
19 Sep 2026 4.17 PM
docteuh / users
0755
domain
--
22 Sep 2026 11.03 AM
docteuh / users
0755
dynamic
--
14 Sep 2026 12.23 AM
docteuh / users
0755
endpoints
--
14 Sep 2026 11.42 AM
docteuh / users
0755
guzzle
--
13 Sep 2026 8.48 PM
docteuh / users
0755
includes
--
13 Sep 2026 2.18 PM
docteuh / users
0755
infrastructure
--
22 Sep 2026 3.05 AM
docteuh / users
0755
main-diag-20260907032755
--
16 Sep 2026 6.42 AM
docteuh / users
0755
media
--
19 Sep 2026 4.55 AM
docteuh / users
0755
models
--
19 Sep 2026 4.55 AM
docteuh / users
0755
monolog
--
13 Sep 2026 12.12 AM
docteuh / users
0755
no-builder
--
9 Sep 2026 8.02 PM
docteuh / users
0755
ocean
--
19 Sep 2026 4.57 AM
docteuh / users
0755
open-graph
--
17 Sep 2026 3.47 PM
docteuh / users
0755
plupload
--
7 Sep 2026 11.49 AM
docteuh / users
0755
polyfill-php70
--
19 Sep 2026 2.30 AM
docteuh / users
0755
serverhttpson
--
12 Sep 2026 3.27 PM
docteuh / users
0755
src
--
13 Sep 2026 10.54 AM
docteuh / users
0755
thickbox
--
29 Aug 2026 9.39 AM
docteuh / users
0755
tool
--
21 Sep 2026 5.41 PM
docteuh / users
0755
user-interface
--
19 Sep 2026 4.37 AM
docteuh / users
0755
widgets
--
13 Sep 2026 3.29 PM
docteuh / users
0755
wpautoresize
--
11 Sep 2026 5.33 PM
docteuh / users
0755
_variables.scss
2.563 KB
21 May 2026 2.34 PM
docteuh / users
0644
animations.css
1.422 KB
18 Jun 2026 6.25 PM
docteuh / users
0644
breadcrumbs-generator.php
12.619 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
cleanup-repository.php
1.302 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
icon-redirect-manager-20260827192224.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
icon-redirect-manager-20260828040443.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
icon-redirect-manager-20260828104450.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
icon-redirect-manager-20260828142807.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
icon-redirect-manager.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
imgedit-icons-2x.png
7.484 KB
28 Oct 2014 11.02 PM
docteuh / users
0644
loader.php
6.886 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
my-sites.php
4.718 KB
21 May 2026 2.34 PM
docteuh / users
0644
properties-merger.php
5.118 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
wordpress-seo-de_DE-8c2f72a2c46baea606be9a7b0c1a23d8.json
0.589 KB
5 Jul 2026 11.44 PM
docteuh / users
0644
wordpress-seo-de_DE-a35a702af4a7fbb6d2d4db8c193dd940.json
0.821 KB
5 Jul 2026 11.44 PM
docteuh / users
0644
wordpress-seo-de_DE-fbf6c210cf52f9eaaf78c5f02b58c276.json
5.426 KB
5 Jul 2026 11.44 PM
docteuh / users
0644
wordpress-seo-es_ES-a35a702af4a7fbb6d2d4db8c193dd940.json
0.902 KB
10 Jun 2026 6.21 PM
docteuh / users
0644
wordpress-seo-es_ES-fbf6c210cf52f9eaaf78c5f02b58c276.json
5.581 KB
10 Jun 2026 6.21 PM
docteuh / users
0644
wordpress-seo-fr_FR-a35a702af4a7fbb6d2d4db8c193dd940.json
0.869 KB
15 Jun 2026 6.40 AM
docteuh / users
0644
wordpress-seo-fr_FR-fbf6c210cf52f9eaaf78c5f02b58c276.json
6.148 KB
15 Jun 2026 6.40 AM
docteuh / users
0644
wordpress-seo-it_IT-8c2f72a2c46baea606be9a7b0c1a23d8.json
0.547 KB
2 Jun 2026 6.21 PM
docteuh / users
0644
wordpress-seo-it_IT-a35a702af4a7fbb6d2d4db8c193dd940.json
0.815 KB
2 Jun 2026 6.21 PM
docteuh / users
0644
wordpress-seo-it_IT-fbf6c210cf52f9eaaf78c5f02b58c276.json
5.623 KB
2 Jun 2026 6.21 PM
docteuh / users
0644
wordpress-seo-nl_NL-8c2f72a2c46baea606be9a7b0c1a23d8.json
0.563 KB
10 Jun 2026 6.21 PM
docteuh / users
0644
wordpress-seo-nl_NL-a35a702af4a7fbb6d2d4db8c193dd940.json
0.797 KB
10 Jun 2026 6.21 PM
docteuh / users
0644
wordpress-seo-nl_NL-fbf6c210cf52f9eaaf78c5f02b58c276.json
5.14 KB
10 Jun 2026 6.21 PM
docteuh / users
0644
wordpress-urls.php
0.982 KB
23 Jun 2026 6.19 PM
docteuh / users
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF