Edit File by line
/home/barbar84/www/wp-conte.../plugins/wordpres.../src/integrat.../third-pa...
File: jetpack.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Yoast\WP\SEO\Integrations\Third_Party;
[2] Fix | Delete
[3] Fix | Delete
use Yoast\WP\SEO\Conditionals\Front_End_Conditional;
[4] Fix | Delete
use Yoast\WP\SEO\Conditionals\Jetpack_Conditional;
[5] Fix | Delete
use Yoast\WP\SEO\Conditionals\Open_Graph_Conditional;
[6] Fix | Delete
use Yoast\WP\SEO\Integrations\Integration_Interface;
[7] Fix | Delete
[8] Fix | Delete
/**
[9] Fix | Delete
* Jetpack integration.
[10] Fix | Delete
*/
[11] Fix | Delete
class Jetpack implements Integration_Interface {
[12] Fix | Delete
[13] Fix | Delete
/**
[14] Fix | Delete
* Returns the conditionals based in which this loadable should be active.
[15] Fix | Delete
*
[16] Fix | Delete
* @return array
[17] Fix | Delete
*/
[18] Fix | Delete
public static function get_conditionals() {
[19] Fix | Delete
return [ Front_End_Conditional::class, Jetpack_Conditional::class, Open_Graph_Conditional::class ];
[20] Fix | Delete
}
[21] Fix | Delete
[22] Fix | Delete
/**
[23] Fix | Delete
* Initializes the integration.
[24] Fix | Delete
*
[25] Fix | Delete
* This is the place to register hooks and filters.
[26] Fix | Delete
*
[27] Fix | Delete
* @return void
[28] Fix | Delete
*/
[29] Fix | Delete
public function register_hooks() {
[30] Fix | Delete
\add_filter( 'jetpack_enable_open_graph', '__return_false' );
[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