From 9f96ec316373dfca2399c4f9a5a325739cf1e27e Mon Sep 17 00:00:00 2001 From: Marko Andrijasevic Date: Tue, 4 Oct 2016 20:49:08 +0200 Subject: [PATCH] Advanced SEO: show front page meta description in previews After the introduction of grandfathering, front page meta description was not being shown correctly in previews. The reason behind that was the introduction of new option name, that was not included in previews. --- client/components/seo-preview-pane/index.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/client/components/seo-preview-pane/index.jsx b/client/components/seo-preview-pane/index.jsx index 2d8076d7e440a6..534ffc9eccc4f7 100644 --- a/client/components/seo-preview-pane/index.jsx +++ b/client/components/seo-preview-pane/index.jsx @@ -86,6 +86,7 @@ const getSeoExcerptForSite = ( site ) => { } return formatExcerpt( find( [ + get( site, 'options.advanced_seo_front_page_description' ), get( site, 'options.seo_meta_description' ), site.description ], identity ) );