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.../open-gra...
File: article-author-presenter.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Yoast\WP\SEO\Presenters\Open_Graph;
[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 Open Graph article author.
[8] Fix | Delete
*/
[9] Fix | Delete
class Article_Author_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 = 'article:author';
[17] Fix | Delete
[18] Fix | Delete
/**
[19] Fix | Delete
* The tag format including placeholders.
[20] Fix | Delete
*
[21] Fix | Delete
* @var string
[22] Fix | Delete
*/
[23] Fix | Delete
protected $tag_format = self::META_PROPERTY_CONTENT;
[24] Fix | Delete
[25] Fix | Delete
/**
[26] Fix | Delete
* Run the article author's Facebook URL through the `wpseo_opengraph_author_facebook` filter.
[27] Fix | Delete
*
[28] Fix | Delete
* @return string The filtered article author's Facebook URL.
[29] Fix | Delete
*/
[30] Fix | Delete
public function get() {
[31] Fix | Delete
/**
[32] Fix | Delete
* Filter: 'wpseo_opengraph_author_facebook' - Allow developers to filter the article author's Facebook URL.
[33] Fix | Delete
*
[34] Fix | Delete
* @param bool|string $article_author The article author's Facebook URL, return false to disable.
[35] Fix | Delete
* @param Indexable_Presentation $presentation The presentation of an indexable.
[36] Fix | Delete
*/
[37] Fix | Delete
return \trim( \apply_filters( 'wpseo_opengraph_author_facebook', $this->presentation->open_graph_article_author, $this->presentation ) );
[38] Fix | Delete
}
[39] Fix | Delete
}
[40] Fix | Delete
[41] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function