Server IP : 104.21.14.103 / Your IP : 3.140.186.206 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/giankuin/thietke365.net/wp-content/plugins/wordpress-seo/src/presentations/ |
Upload File : |
<?php namespace Yoast\WP\SEO\Presentations; /** * Class Indexable_Error_Page_Presentation. * * Presentation object for indexables. */ class Indexable_Error_Page_Presentation extends Indexable_Presentation { /** * Generates the robots value. * * @return array The robots value. */ public function generate_robots() { $robots = $this->get_base_robots(); $robots['index'] = 'noindex'; return $this->filter_robots( $robots ); } /** * Generates the title. * * @return string The title. */ public function generate_title() { if ( $this->model->title ) { return $this->model->title; } return $this->options->get_title_default( 'title-404-wpseo' ); } }