Skip to content

Commit

Permalink
Add changelog entry for #8664
Browse files Browse the repository at this point in the history
  • Loading branch information
oskosk committed Feb 27, 2018
1 parent 1e5d7e2 commit fb7b50f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ There are opportunities for developers at all levels to contribute. [Learn more
* Search: Move any active search widgets to the inactive list if you disable the search module.
* Search: Only log mysql and ES query times that are less than 60 seconds. There are some outliers that mess up our stats.
* Sync: Improved the way widget titles are synchronized to WordPress.com servers when widgets are saved or updated.
* Twitter Cards: Added new jetpack_twitter_image_default filter to allow themes and plugins to customize twitter:image when no suitable image is found automatically.
* We updated the way we handle Jetpack's green color in out stylesheets for better compatibility with Jetpack's new logo.

**Improved compatibility**
Expand Down
17 changes: 17 additions & 0 deletions to-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,23 @@ We now move any active Jetpack Search widgets to the inactive list if you disabl
3. Refresh the page and verify that the search module is still disabled.
4. Visit the widgets configuration page and make sure that the widget you added in step one is now listed at the top of the inactive widgets list.
### Twitter Cards
A new filter jetpack_twitter_image_default was added to allow themes and plugins to customize twitter:image when no suitable image is found automatically.
To test:
Include this snippet:
```
function my_twitter_image_default ($url) {
return 'http://asdf.com/89asdf.gif';
}
add_filter( 'jetpack_twitter_cards_image_default', 'my_twitter_image_default' );
```
* Fetch your site's home page, and a post page that wouldn't otherwise have a Twitter image set. Verify that they both now include `<meta name="twitter:image" content="http://asdf.com/89asdf.gif" />`.
### WooCommerce analytics
* Use a test site which is connected with Jetpack and has WooCommerce active
Expand Down

0 comments on commit fb7b50f

Please sign in to comment.