| @@ -137,12 +137,13 @@ | ||
| 137 | 137 | wp_send_json_success([ |
| 138 | 138 | 'post_title' => $post->post_title, |
| 139 | 139 | 'seo_title' => (string) get_post_meta($post_id, '_thinkrank_seo_title', true), |
| 140 | 140 | 'meta_description' => (string) get_post_meta($post_id, '_thinkrank_meta_description', true), |
| 141 | - 'effective_title' => \ThinkRank\SEO\Pattern_Resolver::effective_title($post_id), | |
| 142 | - 'effective_description' => \ThinkRank\SEO\Pattern_Resolver::effective_description($post_id), | |
| 141 | + // Placeholders, so decoded to the text the page shows (see | |
| 142 | + // Seo_Text::as_displayed()); the column's embedded copy matches. | |
| 143 | + 'effective_title' => \ThinkRank\Core\Seo_Text::as_displayed(\ThinkRank\SEO\Pattern_Resolver::effective_title($post_id)), | |
| 144 | + 'effective_description' => \ThinkRank\Core\Seo_Text::as_displayed(\ThinkRank\SEO\Pattern_Resolver::effective_description($post_id)), | |
| 143 | 145 | 'focus_keywords' => \ThinkRank\SEO\Focus_Keywords::get($post_id), |
| 144 | - 'keyword_limit' => \ThinkRank\SEO\Focus_Keywords::limit(), | |
| 145 | 146 | 'edit_link' => get_edit_post_link($post_id, 'raw'), |
| 146 | 147 | ]); |
| 147 | 148 | } |
| 148 | 149 | |
| @@ -210,6 +211,5 @@ | ||
| 210 | 211 | (new Post_List_Columns())->render_column_content('thinkrank_seo_overview', $post_id); |
| 211 | 212 | |
| 212 | 213 | return (string) ob_get_clean(); |
| 213 | 214 | } |
| 214 | - | |
| 215 | 215 | } |