Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/wordpres.../src/presente.../twitter
File: description-presenter.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Yoast\WP\SEO\Presenters\Twitter;
[2] Fix | Delete
[3] Fix | Delete
use Yoast\WP\SEO\Presentations\Indexable_Presentation;
[4] Fix | Delete
use Yoast\WP\SEO\Presenters\Abstract_Indexable_Tag_Presenter;
[5] Fix | Delete
[6] Fix | Delete
/**
[7] Fix | Delete
* Presenter class for the Twitter description.
[8] Fix | Delete
*/
[9] Fix | Delete
class Description_Presenter extends Abstract_Indexable_Tag_Presenter {
[10] Fix | Delete
[11] Fix | Delete
/**
[12] Fix | Delete
* The tag key name.
[13] Fix | Delete
*
[14] Fix | Delete
* @var string
[15] Fix | Delete
*/
[16] Fix | Delete
protected $key = 'twitter:description';
[17] Fix | Delete
[18] Fix | Delete
/**
[19] Fix | Delete
* Run the Twitter description through replace vars and the `wpseo_twitter_description` filter.
[20] Fix | Delete
*
[21] Fix | Delete
* @return string The filtered Twitter description.
[22] Fix | Delete
*/
[23] Fix | Delete
public function get() {
[24] Fix | Delete
/**
[25] Fix | Delete
* Filter: 'wpseo_twitter_description' - Allow changing the Twitter description as output in the Twitter card by Yoast SEO.
[26] Fix | Delete
*
[27] Fix | Delete
* @param string $twitter_description The description string.
[28] Fix | Delete
* @param Indexable_Presentation $presentation The presentation of an indexable.
[29] Fix | Delete
*/
[30] Fix | Delete
return \apply_filters( 'wpseo_twitter_description', $this->replace_vars( $this->presentation->twitter_description ), $this->presentation );
[31] Fix | Delete
}
[32] Fix | Delete
}
[33] Fix | Delete
[34] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function