| @@ -38,8 +38,13 @@ | ||
| 38 | 38 | * @property int $primary_focus_keyword_score |
| 39 | 39 | * |
| 40 | 40 | * @property int $readability_score |
| 41 | 41 | * |
| 42 | + * @property int $inclusive_language_score | |
| 43 | + * | |
| 44 | + * @property int $seo_title_score | |
| 45 | + * @property int $meta_description_score | |
| 46 | + * | |
| 42 | 47 | * @property int $link_count |
| 43 | 48 | * @property int $incoming_link_count |
| 44 | 49 | * @property int $number_of_pages |
| 45 | 50 | * |
| @@ -111,8 +116,9 @@ | ||
| 111 | 116 | 'is_cornerstone', |
| 112 | 117 | 'is_public', |
| 113 | 118 | 'is_protected', |
| 114 | 119 | 'has_public_posts', |
| 120 | + 'has_ancestors', | |
| 115 | 121 | ]; |
| 116 | 122 | |
| 117 | 123 | /** |
| 118 | 124 | * Which columns contain int values. |
| @@ -125,8 +131,11 @@ | ||
| 125 | 131 | 'author_id', |
| 126 | 132 | 'post_parent', |
| 127 | 133 | 'primary_focus_keyword_score', |
| 128 | 134 | 'readability_score', |
| 135 | + 'inclusive_language_score', | |
| 136 | + 'seo_title_score', | |
| 137 | + 'meta_description_score', | |
| 129 | 138 | 'link_count', |
| 130 | 139 | 'incoming_link_count', |
| 131 | 140 | 'number_of_pages', |
| 132 | 141 | 'prominent_words_version', |
| @@ -166,9 +175,9 @@ | ||
| 166 | 175 | if ( $this->permalink ) { |
| 167 | 176 | $this->sanitize_permalink(); |
| 168 | 177 | $this->permalink_hash = \strlen( $this->permalink ) . ':' . \md5( $this->permalink ); |
| 169 | 178 | } |
| 170 | - if ( is_string( $this->primary_focus_keyword ) && \mb_strlen( $this->primary_focus_keyword ) > 191 ) { | |
| 179 | + if ( \is_string( $this->primary_focus_keyword ) && \mb_strlen( $this->primary_focus_keyword ) > 191 ) { | |
| 171 | 180 | $this->primary_focus_keyword = \mb_substr( $this->primary_focus_keyword, 0, 191, 'UTF-8' ); |
| 172 | 181 | } |
| 173 | 182 | |
| 174 | 183 | return parent::save(); |