PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 18.0
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v18.0
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 / frontend / class-handle-404.php

class-handle-404.php in Yoast SEO – Advanced SEO with real-time guidance and built-in AI 18.0, at src/deprecated/frontend/class-handle-404.php

47 lines 766 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * WPSEO plugin file.
4 *
5 * @package WPSEO\Frontend
6 */
7
8 /**
9 * Class WPSEO_Handle_404
10 *
11 * Handles intercepting requests.
12 *
13 * @deprecated 14.0
14 *
15 * @since 9.4
16 */
17 class WPSEO_Handle_404 implements WPSEO_WordPress_Integration {
18
19 /**
20 * Registers all hooks to WordPress.
21 *
22 * @codeCoverageIgnore
23 * @deprecated 14.0
24 *
25 * @return void
26 */
27 public function register_hooks() {
28 _deprecated_function( __METHOD__, 'WPSEO 14.0' );
29 }
30
31 /**
32 * Handle the 404 status code.
33 *
34 * @codeCoverageIgnore
35 * @deprecated 14.0
36 *
37 * @param bool $handled Whether we've handled the request.
38 *
39 * @return bool True if it's 404.
40 */
41 public function handle_404( $handled ) {
42 _deprecated_function( __METHOD__, 'WPSEO 14.0' );
43
44 return $handled;
45 }
46 }
47