Edit File by line
/home/barbar84/www/wp-conte.../plugins/wordpres.../src/models
File: seo-links.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Yoast\WP\SEO\Models;
[2] Fix | Delete
[3] Fix | Delete
use Yoast\WP\Lib\Model;
[4] Fix | Delete
[5] Fix | Delete
/**
[6] Fix | Delete
* Table definition for the SEO Links table.
[7] Fix | Delete
*
[8] Fix | Delete
* @property int $id
[9] Fix | Delete
* @property string $url
[10] Fix | Delete
* @property int $post_id
[11] Fix | Delete
* @property int $target_post_id
[12] Fix | Delete
* @property string $type
[13] Fix | Delete
* @property int $indexable_id
[14] Fix | Delete
* @property int $target_indexable_id
[15] Fix | Delete
* @property int $height
[16] Fix | Delete
* @property int $width
[17] Fix | Delete
* @property int $size
[18] Fix | Delete
* @property string $language
[19] Fix | Delete
* @property string $region
[20] Fix | Delete
*/
[21] Fix | Delete
class SEO_Links extends Model {
[22] Fix | Delete
[23] Fix | Delete
/**
[24] Fix | Delete
* Indicates that the link is external.
[25] Fix | Delete
*
[26] Fix | Delete
* @var string
[27] Fix | Delete
*/
[28] Fix | Delete
const TYPE_INTERNAL = 'internal';
[29] Fix | Delete
[30] Fix | Delete
/**
[31] Fix | Delete
* Indicates that the link is internal.
[32] Fix | Delete
*
[33] Fix | Delete
* @var string
[34] Fix | Delete
*/
[35] Fix | Delete
const TYPE_EXTERNAL = 'external';
[36] Fix | Delete
[37] Fix | Delete
/**
[38] Fix | Delete
* Indicates the link is an internal image.
[39] Fix | Delete
*
[40] Fix | Delete
* @var string
[41] Fix | Delete
*/
[42] Fix | Delete
const TYPE_INTERNAL_IMAGE = 'image-in';
[43] Fix | Delete
[44] Fix | Delete
/**
[45] Fix | Delete
* Indicates the link is an external image.
[46] Fix | Delete
*
[47] Fix | Delete
* @var string
[48] Fix | Delete
*/
[49] Fix | Delete
const TYPE_EXTERNAL_IMAGE = 'image-ex';
[50] Fix | Delete
[51] Fix | Delete
/**
[52] Fix | Delete
* Holds the parsed URL. May not be set.
[53] Fix | Delete
*
[54] Fix | Delete
* @var array
[55] Fix | Delete
*/
[56] Fix | Delete
public $parsed_url;
[57] Fix | Delete
[58] Fix | Delete
/**
[59] Fix | Delete
* Which columns contain int values.
[60] Fix | Delete
*
[61] Fix | Delete
* @var array
[62] Fix | Delete
*/
[63] Fix | Delete
protected $int_columns = [
[64] Fix | Delete
'id',
[65] Fix | Delete
'post_id',
[66] Fix | Delete
'target_post_id',
[67] Fix | Delete
'indexable_id',
[68] Fix | Delete
'target_indexable_id',
[69] Fix | Delete
'height',
[70] Fix | Delete
'width',
[71] Fix | Delete
'size',
[72] Fix | Delete
];
[73] Fix | Delete
}
[74] Fix | Delete
[75] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function