Skip to content

Commit

Permalink
Advanced SEO: show front page meta description in previews
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vindl committed Oct 4, 2016
1 parent 26bef95 commit 9f96ec3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/components/seo-preview-pane/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) );
Expand Down

0 comments on commit 9f96ec3

Please sign in to comment.