| @@ -24,8 +24,9 @@ | ||
| 24 | 24 | $this->methodMap = [ |
| 25 | 25 | 'WPSEO_Addon_Manager' => 'getWPSEOAddonManagerService', |
| 26 | 26 | 'WPSEO_Admin_Asset_Manager' => 'getWPSEOAdminAssetManagerService', |
| 27 | 27 | 'WPSEO_Breadcrumbs' => 'getWPSEOBreadcrumbsService', |
| 28 | + 'WPSEO_Frontend' => 'getWPSEOFrontendService', | |
| 28 | 29 | 'WPSEO_Replace_Vars' => 'getWPSEOReplaceVarsService', |
| 29 | 30 | 'WPSEO_Shortlinker' => 'getWPSEOShortlinkerService', |
| 30 | 31 | 'WPSEO_Utils' => 'getWPSEOUtilsService', |
| 31 | 32 | 'Yoast\\WP\\Lib\\Migrations\\Adapter' => 'getAdapterService', |
| @@ -305,8 +306,9 @@ | ||
| 305 | 306 | 'Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper' => 'getPostTypeHelperService', |
| 306 | 307 | 'Yoast\\WP\\SEO\\Helpers\\Primary_Term_Helper' => 'getPrimaryTermHelperService', |
| 307 | 308 | 'Yoast\\WP\\SEO\\Helpers\\Product_Helper' => 'getProductHelperService', |
| 308 | 309 | 'Yoast\\WP\\SEO\\Helpers\\Redirect_Helper' => 'getRedirectHelperService', |
| 310 | + 'Yoast\\WP\\SEO\\Helpers\\Request_Helper' => 'getRequestHelperService', | |
| 309 | 311 | 'Yoast\\WP\\SEO\\Helpers\\Require_File_Helper' => 'getRequireFileHelperService', |
| 310 | 312 | 'Yoast\\WP\\SEO\\Helpers\\Robots_Helper' => 'getRobotsHelperService', |
| 311 | 313 | 'Yoast\\WP\\SEO\\Helpers\\Robots_Txt_Helper' => 'getRobotsTxtHelperService', |
| 312 | 314 | 'Yoast\\WP\\SEO\\Helpers\\Route_Helper' => 'getRouteHelperService', |
| @@ -364,8 +366,9 @@ | ||
| 364 | 366 | 'Yoast\\WP\\SEO\\Integrations\\Admin\\Old_Configuration_Integration' => 'getOldConfigurationIntegrationService', |
| 365 | 367 | 'Yoast\\WP\\SEO\\Integrations\\Admin\\Redirect_Integration' => 'getRedirectIntegrationService', |
| 366 | 368 | 'Yoast\\WP\\SEO\\Integrations\\Admin\\Redirections_Tools_Page' => 'getRedirectionsToolsPageService', |
| 367 | 369 | 'Yoast\\WP\\SEO\\Integrations\\Admin\\Redirects_Page_Integration' => 'getRedirectsPageIntegrationService', |
| 370 | + 'Yoast\\WP\\SEO\\Integrations\\Admin\\Unsupported_PHP_Version_Notice' => 'getUnsupportedPHPVersionNoticeService', | |
| 368 | 371 | 'Yoast\\WP\\SEO\\Integrations\\Admin\\Workouts_Integration' => 'getWorkoutsIntegrationService', |
| 369 | 372 | 'Yoast\\WP\\SEO\\Integrations\\Alerts\\Ai_Generator_Tip_Notification' => 'getAiGeneratorTipNotificationService', |
| 370 | 373 | 'Yoast\\WP\\SEO\\Integrations\\Alerts\\Black_Friday_Product_Editor_Checklist_Notification' => 'getBlackFridayProductEditorChecklistNotificationService', |
| 371 | 374 | 'Yoast\\WP\\SEO\\Integrations\\Alerts\\Black_Friday_Promotion_Notification' => 'getBlackFridayPromotionNotificationService', |
| @@ -381,8 +384,9 @@ | ||
| 381 | 384 | 'Yoast\\WP\\SEO\\Integrations\\Estimated_Reading_Time' => 'getEstimatedReadingTimeService', |
| 382 | 385 | 'Yoast\\WP\\SEO\\Integrations\\Exclude_Attachment_Post_Type' => 'getExcludeAttachmentPostTypeService', |
| 383 | 386 | 'Yoast\\WP\\SEO\\Integrations\\Exclude_Oembed_Cache_Post_Type' => 'getExcludeOembedCachePostTypeService', |
| 384 | 387 | 'Yoast\\WP\\SEO\\Integrations\\Feature_Flag_Integration' => 'getFeatureFlagIntegrationService', |
| 388 | + 'Yoast\\WP\\SEO\\Integrations\\Front_End\\Backwards_Compatibility' => 'getBackwardsCompatibilityService', | |
| 385 | 389 | 'Yoast\\WP\\SEO\\Integrations\\Front_End\\Category_Term_Description' => 'getCategoryTermDescriptionService', |
| 386 | 390 | 'Yoast\\WP\\SEO\\Integrations\\Front_End\\Comment_Link_Fixer' => 'getCommentLinkFixerService', |
| 387 | 391 | 'Yoast\\WP\\SEO\\Integrations\\Front_End\\Crawl_Cleanup_Basic' => 'getCrawlCleanupBasicService', |
| 388 | 392 | 'Yoast\\WP\\SEO\\Integrations\\Front_End\\Crawl_Cleanup_Rss' => 'getCrawlCleanupRssService', |
| @@ -1092,8 +1096,18 @@ | ||
| 1092 | 1096 | return $this->services['WPSEO_Breadcrumbs'] = new \WPSEO_Breadcrumbs(); |
| 1093 | 1097 | } |
| 1094 | 1098 | |
| 1095 | 1099 | /** |
| 1100 | + * Gets the public 'WPSEO_Frontend' shared autowired service. | |
| 1101 | + * | |
| 1102 | + * @return \WPSEO_Frontend | |
| 1103 | + */ | |
| 1104 | + protected function getWPSEOFrontendService() | |
| 1105 | + { | |
| 1106 | + return $this->services['WPSEO_Frontend'] = new \WPSEO_Frontend(); | |
| 1107 | + } | |
| 1108 | + | |
| 1109 | + /** | |
| 1096 | 1110 | * Gets the public 'WPSEO_Replace_Vars' shared service. |
| 1097 | 1111 | * |
| 1098 | 1112 | * @return \WPSEO_Replace_Vars |
| 1099 | 1113 | */ |
| @@ -1604,9 +1618,9 @@ | ||
| 1604 | 1618 | $f = new \Yoast\WP\SEO\Abilities\Infrastructure\Post_Identifier_Resolver($a); |
| 1605 | 1619 | $g = new \Yoast\WP\SEO\Abilities\Infrastructure\Post_SEO_Field_Map(($this->services['Yoast\\WP\\SEO\\Surfaces\\Meta_Surface'] ?? $this->getMetaSurfaceService())); |
| 1606 | 1620 | $h = new \Yoast\WP\SEO\Abilities\Infrastructure\Post_Access_Checker(); |
| 1607 | 1621 | |
| 1608 | - return $this->services['Yoast\\WP\\SEO\\Abilities\\User_Interface\\Abilities_Integration'] = new \Yoast\WP\SEO\Abilities\User_Interface\Abilities_Integration(new \Yoast\WP\SEO\Abilities\User_Interface\Abilities\Get_Inclusive_Language_Scores_Ability($b, $c, $d, $e), new \Yoast\WP\SEO\Abilities\User_Interface\Abilities\Get_Post_SEO_Data_Ability($c, $e, new \Yoast\WP\SEO\Abilities\Application\Post_SEO_Data_Collector($f, $g, $h)), new \Yoast\WP\SEO\Abilities\User_Interface\Abilities\Get_Readability_Scores_Ability($b, $c, $d, $e), new \Yoast\WP\SEO\Abilities\User_Interface\Abilities\Get_SEO_Scores_Ability($b, $c, $d, $e), new \Yoast\WP\SEO\Abilities\User_Interface\Abilities\Update_Post_SEO_Data_Ability($c, $e, new \Yoast\WP\SEO\Abilities\Application\Post_SEO_Data_Updater($f, $g, $h, ($this->services['Yoast\\WP\\SEO\\Helpers\\Indexable_To_Postmeta_Helper'] ?? $this->getIndexableToPostmetaHelperService()), ($this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Builder'] ?? $this->getIndexableBuilderService())), ($this->services['Yoast\\WP\\SEO\\Helpers\\Product_Helper'] ?? ($this->services['Yoast\\WP\\SEO\\Helpers\\Product_Helper'] = new \Yoast\WP\SEO\Helpers\Product_Helper())))); | |
| 1622 | + return $this->services['Yoast\\WP\\SEO\\Abilities\\User_Interface\\Abilities_Integration'] = new \Yoast\WP\SEO\Abilities\User_Interface\Abilities_Integration(new \Yoast\WP\SEO\Abilities\User_Interface\Abilities\Get_Inclusive_Language_Scores_Ability($b, $c, $d, $e), new \Yoast\WP\SEO\Abilities\User_Interface\Abilities\Get_Post_SEO_Data_Ability($c, $e, new \Yoast\WP\SEO\Abilities\Application\Post_SEO_Data_Collector($f, $g, $h)), new \Yoast\WP\SEO\Abilities\User_Interface\Abilities\Get_Readability_Scores_Ability($b, $c, $d, $e), new \Yoast\WP\SEO\Abilities\User_Interface\Abilities\Get_SEO_Scores_Ability($b, $c, $d, $e), new \Yoast\WP\SEO\Abilities\User_Interface\Abilities\Update_Post_SEO_Data_Ability($c, $e, new \Yoast\WP\SEO\Abilities\Application\Post_SEO_Data_Updater($f, $g, $h, ($this->services['Yoast\\WP\\SEO\\Helpers\\Indexable_To_Postmeta_Helper'] ?? $this->getIndexableToPostmetaHelperService()), ($this->services['Yoast\\WP\\SEO\\Builders\\Indexable_Builder'] ?? $this->getIndexableBuilderService())))); | |
| 1609 | 1623 | } |
| 1610 | 1624 | |
| 1611 | 1625 | /** |
| 1612 | 1626 | * Gets the public 'Yoast\WP\SEO\Abilities\User_Interface\Ability_Categories_Integration' shared autowired service. |
| @@ -4348,8 +4362,22 @@ | ||
| 4348 | 4362 | return $this->services['Yoast\\WP\\SEO\\Helpers\\Redirect_Helper'] = new \Yoast\WP\SEO\Helpers\Redirect_Helper(); |
| 4349 | 4363 | } |
| 4350 | 4364 | |
| 4351 | 4365 | /** |
| 4366 | + * Gets the public 'Yoast\WP\SEO\Helpers\Request_Helper' shared autowired service. | |
| 4367 | + * | |
| 4368 | + * @return \Yoast\WP\SEO\Helpers\Request_Helper | |
| 4369 | + * | |
| 4370 | + * @deprecated Since Yoast\WP\SEO\Helpers\Request_Helper 23.6: Yoast\WP\SEO\Helpers\Request_Helper is deprecated since version 23.6! | |
| 4371 | + */ | |
| 4372 | + protected function getRequestHelperService() | |
| 4373 | + { | |
| 4374 | + trigger_deprecation('Yoast\\WP\\SEO\\Helpers\\Request_Helper', '23.6', 'Yoast\\WP\\SEO\\Helpers\\Request_Helper is deprecated since version 23.6!'); | |
| 4375 | + | |
| 4376 | + return $this->services['Yoast\\WP\\SEO\\Helpers\\Request_Helper'] = new \Yoast\WP\SEO\Helpers\Request_Helper(); | |
| 4377 | + } | |
| 4378 | + | |
| 4379 | + /** | |
| 4352 | 4380 | * Gets the public 'Yoast\WP\SEO\Helpers\Require_File_Helper' shared autowired service. |
| 4353 | 4381 | * |
| 4354 | 4382 | * @return \Yoast\WP\SEO\Helpers\Require_File_Helper |
| 4355 | 4383 | */ |
| @@ -4944,8 +4972,22 @@ | ||
| 4944 | 4972 | return $this->services['Yoast\\WP\\SEO\\Integrations\\Admin\\Redirects_Page_Integration'] = new \Yoast\WP\SEO\Integrations\Admin\Redirects_Page_Integration(($this->services['Yoast\\WP\\SEO\\Helpers\\Current_Page_Helper'] ?? $this->getCurrentPageHelperService()), ($this->services['Yoast\\WP\\SEO\\Helpers\\User_Helper'] ?? ($this->services['Yoast\\WP\\SEO\\Helpers\\User_Helper'] = new \Yoast\WP\SEO\Helpers\User_Helper())), ($this->services['Yoast\\WP\\SEO\\Introductions\\Infrastructure\\Wistia_Embed_Permission_Repository'] ?? $this->getWistiaEmbedPermissionRepositoryService())); |
| 4945 | 4973 | } |
| 4946 | 4974 | |
| 4947 | 4975 | /** |
| 4976 | + * Gets the public 'Yoast\WP\SEO\Integrations\Admin\Unsupported_PHP_Version_Notice' shared autowired service. | |
| 4977 | + * | |
| 4978 | + * @return \Yoast\WP\SEO\Integrations\Admin\Unsupported_PHP_Version_Notice | |
| 4979 | + * | |
| 4980 | + * @deprecated Since Yoast\WP\SEO\Integrations\Admin\Unsupported_PHP_Version_Notice 25.0: Yoast\WP\SEO\Integrations\Admin\Unsupported_PHP_Version_Notice is deprecated since version 25.0! | |
| 4981 | + */ | |
| 4982 | + protected function getUnsupportedPHPVersionNoticeService() | |
| 4983 | + { | |
| 4984 | + trigger_deprecation('Yoast\\WP\\SEO\\Integrations\\Admin\\Unsupported_PHP_Version_Notice', '25.0', 'Yoast\\WP\\SEO\\Integrations\\Admin\\Unsupported_PHP_Version_Notice is deprecated since version 25.0!'); | |
| 4985 | + | |
| 4986 | + return $this->services['Yoast\\WP\\SEO\\Integrations\\Admin\\Unsupported_PHP_Version_Notice'] = new \Yoast\WP\SEO\Integrations\Admin\Unsupported_PHP_Version_Notice(); | |
| 4987 | + } | |
| 4988 | + | |
| 4989 | + /** | |
| 4948 | 4990 | * Gets the public 'Yoast\WP\SEO\Integrations\Admin\Workouts_Integration' shared autowired service. |
| 4949 | 4991 | * |
| 4950 | 4992 | * @return \Yoast\WP\SEO\Integrations\Admin\Workouts_Integration |
| 4951 | 4993 | */ |
| @@ -5114,8 +5156,18 @@ | ||
| 5114 | 5156 | return $this->services['Yoast\\WP\\SEO\\Integrations\\Feature_Flag_Integration'] = new \Yoast\WP\SEO\Integrations\Feature_Flag_Integration(($this->services['WPSEO_Admin_Asset_Manager'] ?? $this->getWPSEOAdminAssetManagerService()), ($this->services['Yoast\\WP\\SEO\\Conditionals\\Addon_Installation_Conditional'] ?? ($this->services['Yoast\\WP\\SEO\\Conditionals\\Addon_Installation_Conditional'] = new \Yoast\WP\SEO\Conditionals\Addon_Installation_Conditional())), ($this->services['Yoast\\WP\\SEO\\Conditionals\\Check_Required_Version_Conditional'] ?? ($this->services['Yoast\\WP\\SEO\\Conditionals\\Check_Required_Version_Conditional'] = new \Yoast\WP\SEO\Conditionals\Check_Required_Version_Conditional())), ($this->services['Yoast\\WP\\SEO\\Conditionals\\Dynamic_Product_Permalinks_Conditional'] ?? ($this->services['Yoast\\WP\\SEO\\Conditionals\\Dynamic_Product_Permalinks_Conditional'] = new \Yoast\WP\SEO\Conditionals\Dynamic_Product_Permalinks_Conditional())), ($this->services['Yoast\\WP\\SEO\\Conditionals\\MyYoast_Connection_Conditional'] ?? ($this->services['Yoast\\WP\\SEO\\Conditionals\\MyYoast_Connection_Conditional'] = new \Yoast\WP\SEO\Conditionals\MyYoast_Connection_Conditional())), ($this->services['Yoast\\WP\\SEO\\Conditionals\\New_Settings_Ui_Conditional'] ?? ($this->services['Yoast\\WP\\SEO\\Conditionals\\New_Settings_Ui_Conditional'] = new \Yoast\WP\SEO\Conditionals\New_Settings_Ui_Conditional())), ($this->services['Yoast\\WP\\SEO\\Conditionals\\Text_Formality_Conditional'] ?? ($this->services['Yoast\\WP\\SEO\\Conditionals\\Text_Formality_Conditional'] = new \Yoast\WP\SEO\Conditionals\Text_Formality_Conditional())), ($this->services['Yoast\\WP\\SEO\\Conditionals\\Updated_Importer_Framework_Conditional'] ?? ($this->services['Yoast\\WP\\SEO\\Conditionals\\Updated_Importer_Framework_Conditional'] = new \Yoast\WP\SEO\Conditionals\Updated_Importer_Framework_Conditional()))); |
| 5115 | 5157 | } |
| 5116 | 5158 | |
| 5117 | 5159 | /** |
| 5160 | + * Gets the public 'Yoast\WP\SEO\Integrations\Front_End\Backwards_Compatibility' shared autowired service. | |
| 5161 | + * | |
| 5162 | + * @return \Yoast\WP\SEO\Integrations\Front_End\Backwards_Compatibility | |
| 5163 | + */ | |
| 5164 | + protected function getBackwardsCompatibilityService() | |
| 5165 | + { | |
| 5166 | + return $this->services['Yoast\\WP\\SEO\\Integrations\\Front_End\\Backwards_Compatibility'] = new \Yoast\WP\SEO\Integrations\Front_End\Backwards_Compatibility(($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] ?? ($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] = new \Yoast\WP\SEO\Helpers\Options_Helper()))); | |
| 5167 | + } | |
| 5168 | + | |
| 5169 | + /** | |
| 5118 | 5170 | * Gets the public 'Yoast\WP\SEO\Integrations\Front_End\Category_Term_Description' shared autowired service. |
| 5119 | 5171 | * |
| 5120 | 5172 | * @return \Yoast\WP\SEO\Integrations\Front_End\Category_Term_Description |
| 5121 | 5173 | */ |
| @@ -5994,8 +6046,9 @@ | ||
| 5994 | 6046 | $instance->register_integration('Yoast\\WP\\SEO\\Integrations\\Exclude_Attachment_Post_Type'); |
| 5995 | 6047 | $instance->register_integration('Yoast\\WP\\SEO\\Integrations\\Exclude_Oembed_Cache_Post_Type'); |
| 5996 | 6048 | $instance->register_integration('Yoast\\WP\\SEO\\Integrations\\Feature_Flag_Integration'); |
| 5997 | 6049 | $instance->register_integration('Yoast\\WP\\SEO\\Integrations\\Front_End_Integration'); |
| 6050 | + $instance->register_integration('Yoast\\WP\\SEO\\Integrations\\Front_End\\Backwards_Compatibility'); | |
| 5998 | 6051 | $instance->register_integration('Yoast\\WP\\SEO\\Integrations\\Front_End\\Category_Term_Description'); |
| 5999 | 6052 | $instance->register_integration('Yoast\\WP\\SEO\\Integrations\\Front_End\\Comment_Link_Fixer'); |
| 6000 | 6053 | $instance->register_integration('Yoast\\WP\\SEO\\Integrations\\Front_End\\Crawl_Cleanup_Basic'); |
| 6001 | 6054 | $instance->register_integration('Yoast\\WP\\SEO\\Integrations\\Front_End\\Crawl_Cleanup_Rss'); |