Jetpack: Featured Content: Check is_home() after checking the other options, in case someone's doing a WP_Query before the main query is run -- 
so we're not kicking an error due to checking is_home() before the $wp_query global is set.


git-svn-id: http://plugins.svn.wordpress.org/jetpack/trunk@807091 b8457f37-d9ea-0310-8a92-e5e31aec5664
Jetpack: Handle post-merge 3.8-alpha stylings where MP6 is merged in and no longer provides the body class. In the admin, provide a 
.pre-mp6 body class if the user is on 3.7 or lower.


git-svn-id: http://plugins.svn.wordpress.org/jetpack/trunk@807747 b8457f37-d9ea-0310-8a92-e5e31aec5664
Jetpack: MP6 Merge Stuff: Make sure we're hiding the :before if it's pre-mp6

git-svn-id: http://plugins.svn.wordpress.org/jetpack/trunk@807772 b8457f37-d9ea-0310-8a92-e5e31aec5664
Jetpack: MP6 Merge Stuff: Aaaaand, missed a space.

git-svn-id: http://plugins.svn.wordpress.org/jetpack/trunk@807773 b8457f37-d9ea-0310-8a92-e5e31aec5664
Jetpack: Holiday Snow: Add an adminbar item of a snowflake if the user can control the snow being active, they are in wp-admin, and it is currently 
active.  Also add a fun spinning animation on hover to it.  Clicking takes them to the setting that explains what's going on with the snow on their 
site.


git-svn-id: http://plugins.svn.wordpress.org/jetpack/trunk@807935 b8457f37-d9ea-0310-8a92-e5e31aec5664
Jetpack: Twitter Cards: Many improvements! props @stephdau
* Twitter Card tags are no longer based on the Open Graph tags directed at Facebook, except for the title and description if they are already present (but not for media or card type decisions).
* Actual galleries and posts with multiple images will be treated as the gallery type on twitter, allowing for display of up to 4 images at medium sizes.
* If a post has a YouTube embed with little to no text, we set the video's poster frame as a medium/banner size image on Twitter (not as large as photo type)
* We apply the same logic to Vimeo embeds if we found that the poster frame was already saved in post meta by the Open Graph handling (done on publish).
* If a post has no images at all, we send it as summary, but we try to use the site's blavatar if there is one as a small thumbnail to spruce up the post on twitter, withouth overpowering it.
* If a post has only one image and is deemed to be a photo post (like for videos, little to no text + only 1 img), we serve it as the photo type, which dislplays a large image on Twitter
* If a post has 1 to 3 images (but isn't a proper gallery or deemed a single photo post like featured images on long posts), we send it as the summary type, with a small to medium version of the 1st pict to spruce it up on Twitter.
* See <code>jetpack_disable_twitter_cards</code> filter to disable Twitter Cards altogether.
* Updated Twitter Cards lib now uses Jetpack_Media_Summary instead of relying on decisions alerady made for the Open Graph tags which migh make sense in Facebook's context, but not Twitter's.
* See <code>jetpack_open_graph_tags</code> to filter Twitter Cards output, as before.



git-svn-id: http://plugins.svn.wordpress.org/jetpack/trunk@808325 b8457f37-d9ea-0310-8a92-e5e31aec5664
Jetpack: Twitter Cards:
 * No longer sending posts as gallery to Twitter if it has less than 4 images, which Twitter requires.
 * Refactored card type selection logic into wpcom_twitter_cards_define_type_based_on_image_count()
 * Renamed $card to $card_type for clarity.


git-svn-id: http://plugins.svn.wordpress.org/jetpack/trunk@808386 b8457f37-d9ea-0310-8a92-e5e31aec5664
Jetpack: SSO: Switch the button from using Dashicons to Genericons. Open it up a bit as well, and use the simplified logo -- it looks better at the smaller size.


git-svn-id: http://plugins.svn.wordpress.org/jetpack/trunk@808424 b8457f37-d9ea-0310-8a92-e5e31aec5664
Jetpack: Open Graph: do not serve fallback images if we found images already.
Facebook seems to want to not use the one we expect (uses the last instead of the 1st, sometimes).



git-svn-id: http://plugins.svn.wordpress.org/jetpack/trunk@808481 b8457f37-d9ea-0310-8a92-e5e31aec5664
Jetpack: Don't hard-code wp-includes, use WPINC constant.

git-svn-id: http://plugins.svn.wordpress.org/jetpack/trunk@808569 b8457f37-d9ea-0310-8a92-e5e31aec5664
Jetpack: Handling deprecated modules: Don't activate SSO if they never 
completed activating WPCC.



git-svn-id: http://plugins.svn.wordpress.org/jetpack/trunk@808895 b8457f37-d9ea-0310-8a92-e5e31aec5664
Jetpack: Twitter Cards: new take on defining twitter:site.



git-svn-id: http://plugins.svn.wordpress.org/jetpack/trunk@808971 b8457f37-d9ea-0310-8a92-e5e31aec5664
Twitter Cards: handle plugin conflicts separately from OG tags

git-svn-id: http://plugins.svn.wordpress.org/jetpack/trunk@809004 b8457f37-d9ea-0310-8a92-e5e31aec5664
Jetpack: Enhanced Open Graph: dropping Gravatar fallback, to mirror what is done with Twitter Cards, because there is no way for us to know if we're getting a user's gravatar or a falback one when an author has none.


git-svn-id: http://plugins.svn.wordpress.org/jetpack/trunk@809028 b8457f37-d9ea-0310-8a92-e5e31aec5664
Jetpack: Add the module tag back in to Likes.

git-svn-id: http://plugins.svn.wordpress.org/jetpack/trunk@809036 b8457f37-d9ea-0310-8a92-e5e31aec5664
Jetpack: Shortcode: Presentations: Revert r803113 which undid a fix 
during a merge! Oops!

Resolves NOTICE: UNDEFINED INDEX: FADEBULLETS IN 
WP-CONTENT/PLUGINS/JETPACK/MODULES/SHORTCODES/PRESENTATIONS.PHP 
ON LINE 306


git-svn-id: http://plugins.svn.wordpress.org/jetpack/trunk@809151 b8457f37-d9ea-0310-8a92-e5e31aec5664
Jetpack: Likes: Tidy up the adminbar widget in 3.8-alpha+ where mp6 no longer gets caught with the filter.

git-svn-id: http://plugins.svn.wordpress.org/jetpack/trunk@809329 b8457f37-d9ea-0310-8a92-e5e31aec5664
Jetpack: Likes: Scratch that height change in r809329, made things worse.

git-svn-id: http://plugins.svn.wordpress.org/jetpack/trunk@809331 b8457f37-d9ea-0310-8a92-e5e31aec5664
Remove redundant l10n function call in minileven.


git-svn-id: http://plugins.svn.wordpress.org/jetpack/trunk@810032 b8457f37-d9ea-0310-8a92-e5e31aec5664
Jetpack: Media Summary: increase the number of max paragraphs in post_content to 2 before we stop treating a post as a photo or video post.



git-svn-id: http://plugins.svn.wordpress.org/jetpack/trunk@810172 b8457f37-d9ea-0310-8a92-e5e31aec5664