| @@ -216,10 +216,13 @@ | ||
| 216 | 216 | 'meta_title' => !empty($meta_title), |
| 217 | 217 | 'meta_description' => !empty($meta_description), |
| 218 | 218 | 'seo_title_raw' => $seo_title_raw, |
| 219 | 219 | 'meta_description_raw' => $meta_description_raw, |
| 220 | - 'effective_title' => $meta_title, | |
| 221 | - 'effective_description' => $meta_description, | |
| 220 | + // Placeholders in Quick Edit, so decoded to the text the page | |
| 221 | + // shows: get_the_title() texturizes "&" into `&`, which | |
| 222 | + // esc_attr() then carried into the field verbatim. | |
| 223 | + 'effective_title' => \ThinkRank\Core\Seo_Text::as_displayed($meta_title), | |
| 224 | + 'effective_description' => \ThinkRank\Core\Seo_Text::as_displayed($meta_description), | |
| 222 | 225 | 'pillar_content' => $this->is_link_suggestions_enabled(get_post_type($post_id)) && get_post_meta($post_id, '_thinkrank_pillar_content', true) === '1', |
| 223 | 226 | ]; |
| 224 | 227 | } |
| 225 | 228 | |