HEX
Server: Apache/2.4.66 (Debian)
System: Linux 6dfabc3b2241 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User: (1000)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/wp-graphql/deprecated/Taxonomies.php
<?php

namespace WPGraphQL\Connection;

/**
 * @todo Remove in 3.0.0
 * @deprecated 1.13.0
 * @codeCoverageIgnore
 */
class Taxonomies extends \WPGraphQL\Type\Connection\Taxonomies {
	/**
	 * {@inheritDoc}
	 *
	 * @deprecated 1.13.0
	 */
	public static function register_connections() {
		_doing_it_wrong(
			__METHOD__,
			sprintf( /* translators: %s is the current class name, %s is the new class name */
				esc_html__( 'The %1$s class is deprecated and will be removed in the next major version of WPGraphQL. Use %2$s instead.', 'wp-graphql' ),
				esc_html( self::class ),
				esc_html( \WPGraphQL\Type\Connection\Taxonomies::class )
			),
			'1.13.0'
		);
		_deprecated_function( __METHOD__, '1.13.0', '\WPGraphQL\Type\Connection\Taxonomies::register_connections' );
		parent::register_connections();
	}
}