PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 18.9
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v18.9
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
wordpress-seo / src / deprecated / src / integrations / third-party / elementor.php

elementor.php in Yoast SEO – Advanced SEO with real-time guidance and built-in AI 18.9, at src/deprecated/src/integrations/third-party/elementor.php

44 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 // phpcs:disable Yoast.Commenting.FileComment.Unnecessary
3 /**
4 * Graceful deprecation of various classes which were renamed.
5 *
6 * {@internal As this file is just (temporarily) put in place to warn extending
7 * plugins about the class name changes, it is exempt from select CS standards.}
8 *
9 * @package Yoast\WP\SEO
10 *
11 * @since 16.7
12 * @deprecated 16.7
13 *
14 * @phpcs:disable Generic.Files.OneObjectStructurePerFile.MultipleFound
15 * @phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedNamespaceFound
16 * @phpcs:disable Yoast.Commenting.CodeCoverageIgnoreDeprecated
17 * @phpcs:disable Yoast.Commenting.FileComment.Unnecessary
18 * @phpcs:disable Yoast.Files.FileName.InvalidClassFileName
19 */
20
21 namespace Yoast\WP\SEO\Integrations\Third_Party;
22
23 /**
24 * Class Elementor_Exclude_Post_Types.
25 *
26 * @deprecated 16.7 Use {@see \Yoast\WP\SEO\Integrations\Third_Party\Exclude_Elementor_Post_Types} instead.
27 */
28 class Elementor_Exclude_Post_Types extends Exclude_Elementor_Post_Types {
29
30 /**
31 * Elementor Exclude Post Types constructor.
32 *
33 * @deprecated 16.7 Use {@see \Yoast\WP\SEO\Integrations\Third_Party\Exclude_Elementor_Post_Types} instead.
34 */
35 public function __construct() {
36 \_deprecated_function( __METHOD__, 'Yoast SEO 16.7', '\Yoast\WP\SEO\Integrations\Third_Party\Exclude_Elementor_Post_Types' );
37
38 // Only call a constructor if the parent has one; we already are a subclass of the parent.
39 if ( \is_callable( 'parent::__construct' ) ) {
40 parent::__construct();
41 }
42 }
43 }
44