Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sharing: merges the changes from wpcom as of 18th of June, 2015 #2269

Merged
merged 4 commits into from
Jun 19, 2015

Conversation

zinigor
Copy link
Member

@zinigor zinigor commented Jun 18, 2015

This PR replaces #2264.

Andrew Duthie and others added 3 commits June 18, 2015 11:23
Previously used "Any Image" (`buttonBookmark`) type, which is confusing in the context of a front page where many posts exist (and may not include the actual post for which the Pin It button is rendered).

This change will attempt to find an appropriate image to Pin from the post, falling back to Blavatars/Gravatars, and finally a blank image (or filtered value via Jetpack filter).

See: https://[private link]
See: https://github.com/Automattic/io/issues/374

Merges r118317-wpcom.
Allowing site owners to choose to override the default `buttonPin` single-image widget type.

See: r118317
See: https://github.com/Automattic/io/issues/374#issuecomment-104190565

Merges r118401-wpcom.
Previously, only official buttons would render the single image view.
This updates non-official button styles to use the same singular image
view, and similarly respects the filter to override in case “Any Image”
type is desired.
@zinigor zinigor added [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it [Feature] Sharing Post sharing, sharing buttons [Status] Needs Review To request a review from fellow Jetpack developers. Label will be renamed soon. labels Jun 18, 2015
@zinigor zinigor added this to the 3.6 milestone Jun 18, 2015
@aduth
Copy link
Contributor

aduth commented Jun 18, 2015

Pushed e80aff7 to simplify the JavaScript snippet insertion, since the stats should already be tracked when the user navigates to the share action (via Share_Pinterest::process_request).

Tested to be working on my test environment, both official and non-official styles, and with/without a filter to override the widget type to buttonBookmark instead of buttonPin.

@zinigor
Copy link
Member Author

zinigor commented Jun 18, 2015

Read the code and tested as well, everything looks good to me!

@zinigor zinigor added [Status] Ready to Merge Go ahead, you can push that green button! and removed [Status] Needs Review To request a review from fellow Jetpack developers. Label will be renamed soon. labels Jun 18, 2015
@dereksmart
Copy link
Member

LGTM 👍

dereksmart added a commit that referenced this pull request Jun 19, 2015
…onsistency

Sharing: merges the changes from wpcom as of 18th of June, 2015
@dereksmart dereksmart merged commit f286c3a into master Jun 19, 2015
@dereksmart dereksmart removed the [Status] Ready to Merge Go ahead, you can push that green button! label Jun 19, 2015
@dereksmart dereksmart deleted the merge/sharedaddy-leftovers-consistency branch June 19, 2015 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Sharing Post sharing, sharing buttons [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants