Edit File by line
/home/barbar84/www/wp-conte.../plugins/wordpres.../src/models
File: primary-term.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
* Primary Term model definition.
[7] Fix | Delete
*
[8] Fix | Delete
* @property int $id Identifier.
[9] Fix | Delete
* @property int $post_id Post ID.
[10] Fix | Delete
* @property int $term_id Term ID.
[11] Fix | Delete
* @property string $taxonomy Taxonomy.
[12] Fix | Delete
* @property int $blog_id Blog ID.
[13] Fix | Delete
*
[14] Fix | Delete
* @property string $created_at
[15] Fix | Delete
* @property string $updated_at
[16] Fix | Delete
*/
[17] Fix | Delete
class Primary_Term extends Model {
[18] Fix | Delete
[19] Fix | Delete
/**
[20] Fix | Delete
* Whether nor this model uses timestamps.
[21] Fix | Delete
*
[22] Fix | Delete
* @var bool
[23] Fix | Delete
*/
[24] Fix | Delete
protected $uses_timestamps = true;
[25] Fix | Delete
[26] Fix | Delete
/**
[27] Fix | Delete
* Which columns contain int values.
[28] Fix | Delete
*
[29] Fix | Delete
* @var array
[30] Fix | Delete
*/
[31] Fix | Delete
protected $int_columns = [
[32] Fix | Delete
'id',
[33] Fix | Delete
'post_id',
[34] Fix | Delete
'term_id',
[35] Fix | Delete
'blog_id',
[36] Fix | Delete
];
[37] Fix | Delete
}
[38] Fix | Delete
[39] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function