Edit File by line
/home/barbar84/www/wp-conte.../plugins/wordpres.../src/deprecat.../frontend
File: class-twitter.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* WPSEO plugin file.
[2] Fix | Delete
*
[3] Fix | Delete
* @package WPSEO\Frontend
[4] Fix | Delete
*/
[5] Fix | Delete
[6] Fix | Delete
/**
[7] Fix | Delete
* This class handles the Twitter card functionality.
[8] Fix | Delete
*
[9] Fix | Delete
* @deprecated 14.0
[10] Fix | Delete
*
[11] Fix | Delete
* @link https://developer.twitter.com/en/docs/tweets/optimize-with-cards/overview/abouts-cards
[12] Fix | Delete
*/
[13] Fix | Delete
class WPSEO_Twitter {
[14] Fix | Delete
[15] Fix | Delete
/**
[16] Fix | Delete
* Instance of this class.
[17] Fix | Delete
*
[18] Fix | Delete
* @var WPSEO_Twitter
[19] Fix | Delete
*/
[20] Fix | Delete
public static $instance;
[21] Fix | Delete
[22] Fix | Delete
/**
[23] Fix | Delete
* Images.
[24] Fix | Delete
*
[25] Fix | Delete
* @var array
[26] Fix | Delete
*/
[27] Fix | Delete
public $shown_images = [];
[28] Fix | Delete
[29] Fix | Delete
/**
[30] Fix | Delete
* Class constructor.
[31] Fix | Delete
*
[32] Fix | Delete
* @deprecated 14.0
[33] Fix | Delete
* @codeCoverageIgnore
[34] Fix | Delete
*/
[35] Fix | Delete
public function __construct() {
[36] Fix | Delete
_deprecated_function( __METHOD__, 'WPSEO 14.0' );
[37] Fix | Delete
}
[38] Fix | Delete
[39] Fix | Delete
/**
[40] Fix | Delete
* Outputs the Twitter Card code on singular pages.
[41] Fix | Delete
*
[42] Fix | Delete
* @deprecated 14.0
[43] Fix | Delete
* @codeCoverageIgnore
[44] Fix | Delete
*/
[45] Fix | Delete
public function twitter() {
[46] Fix | Delete
_deprecated_function( __METHOD__, 'WPSEO 14.0' );
[47] Fix | Delete
}
[48] Fix | Delete
[49] Fix | Delete
/**
[50] Fix | Delete
* Get the singleton instance of this class.
[51] Fix | Delete
*
[52] Fix | Delete
* @deprecated 14.0
[53] Fix | Delete
* @codeCoverageIgnore
[54] Fix | Delete
*
[55] Fix | Delete
* @return object|null
[56] Fix | Delete
*/
[57] Fix | Delete
public static function get_instance() {
[58] Fix | Delete
_deprecated_function( __METHOD__, 'WPSEO 14.0' );
[59] Fix | Delete
[60] Fix | Delete
return null;
[61] Fix | Delete
}
[62] Fix | Delete
}
[63] Fix | Delete
[64] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function