Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: removed

Remove Pocket logo as the service is being discontinued. Pocket Casts logo remains available.
1 change: 0 additions & 1 deletion projects/js-packages/social-logos/official_links.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ Official links:
- Nextdoor: https://about.nextdoor.com/nextdoor-brand-use-guidelines/
- Patreon: https://www.patreon.com/brand
- Pinterest: https://business.pinterest.com/brand-guidelines/
- Pocket: https://blog.getpocket.com/press/
- Quora: https://www.quora.com/
- Reddit: https://www.redditinc.com/brand
- Snapchat: https://snap.com/brand-guidelines
Expand Down
1 change: 0 additions & 1 deletion projects/js-packages/social-logos/src/font/codepoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"medium": 63011,
"pinterest-alt": 61968,
"pinterest": 61961,
"pocket": 61988,
"polldaddy": 61975,
"print": 62569,
"reddit": 61986,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,6 @@ export const SocialLogoData = [
name: 'pocket-casts',
svg: <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g><path d="M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2m0 2.223a7.777 7.777 0 1 0 0 15.555v-1.945A5.833 5.833 0 1 1 17.833 12h1.944A7.777 7.777 0 0 0 12 4.223m0 3.11a4.667 4.667 0 0 0 0 9.334V14.97A2.97 2.97 0 1 1 14.97 12h1.697A4.667 4.667 0 0 0 12 7.333"/></g></svg>,
},
{
name: 'pocket',
svg: <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><path d="M21.927 4.194A1.82 1.82 0 0 0 20.222 3H3.839a1.823 1.823 0 0 0-1.813 1.814v6.035l.069 1.2c.29 2.73 1.707 5.115 3.899 6.778l.119.089.025.018a9.9 9.9 0 0 0 3.91 1.727 10.06 10.06 0 0 0 4.049-.014.3.3 0 0 0 .064-.023 9.9 9.9 0 0 0 3.753-1.691l.025-.018q.06-.043.119-.089c2.192-1.664 3.609-4.049 3.898-6.778l.069-1.2V4.814a1.8 1.8 0 0 0-.098-.62m-4.235 6.287-4.704 4.512a1.37 1.37 0 0 1-1.898 0l-4.705-4.512a1.371 1.371 0 1 1 1.898-1.979l3.756 3.601 3.755-3.601a1.372 1.372 0 0 1 1.898 1.979"/></g></svg>,
},
{
name: 'polldaddy',
svg: <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><path d="M12 2C6.487 2 2 6.487 2 12c0 5.514 4.487 10 10 10 5.514 0 10-4.486 10-10 0-5.513-4.486-10-10-10m.991 1.68c2.361.084 4.657 1.251 6.197 3.136.283.334.541.693.774 1.067a7.78 7.78 0 0 0-6.094-2.94 7.76 7.76 0 0 0-5.896 2.703q-.008.006-.016.014l-.152.159-.031.032a6.12 6.12 0 0 0-1.633 4.165 6.15 6.15 0 0 0 6.143 6.143c.57 0 1.123-.081 1.649-.227-1.849.839-4.131.747-5.926-.324-1.841-1.089-3.171-3.111-3.433-5.313A7.39 7.39 0 0 1 6.69 6.137C8.294 4.5 10.634 3.563 12.991 3.68m3.373 8.519c-.049-2.024-1.587-3.889-3.544-4.174-1.927-.343-3.917.857-4.451 2.661a3.67 3.67 0 0 0 .2 2.653c.39.8 1.067 1.451 1.894 1.759 1.664.654 3.63-.27 4.173-1.863.593-1.58-.396-3.423-1.94-3.776-1.52-.407-3.161.757-3.204 2.243a2.36 2.36 0 0 0 .753 1.879c.501.476 1.23.667 1.871.529a2.07 2.07 0 0 0 1.469-1.134 1.91 1.91 0 0 0-.087-1.767c-.297-.513-.859-.863-1.429-.881a1.7 1.7 0 0 0-1.437.679 1.53 1.53 0 0 0-.18 1.489q.006.016.016.03c.193.634.774 1.1 1.467 1.117a1.6 1.6 0 0 1-.97-.183c-.466-.244-.809-.747-.893-1.29a1.8 1.8 0 0 1 .499-1.539 2.02 2.02 0 0 1 1.58-.606c.593.04 1.159.35 1.517.859.364.496.51 1.156.383 1.773-.116.62-.529 1.174-1.093 1.514a2.52 2.52 0 0 1-1.914.286c-.65-.161-1.226-.606-1.584-1.206a2.83 2.83 0 0 1-.341-2.031c.143-.7.573-1.321 1.176-1.753 1.193-.883 3.056-.751 4.106.411 1.106 1.1 1.327 3.027.406 4.371-.877 1.376-2.74 2.086-4.374 1.594-1.639-.449-2.913-2.079-3.031-3.853-.07-.884.13-1.797.583-2.577.445-.777 1.155-1.432 1.972-1.862 1.64-.88 3.816-.743 5.349.424 1.251.924 2.083 2.42 2.236 4.009l.001.03c0 2.9-2.359 5.26-5.26 5.26a5.2 5.2 0 0 1-1.947-.376 5 5 0 0 0 2.613-.079 4.96 4.96 0 0 0 2.514-1.751c.618-.828.95-1.861.901-2.869M12 21.113c-5.024 0-9.111-4.087-9.111-9.113 0-4.789 3.713-8.723 8.411-9.081a7 7 0 0 0-.397.06c-2.644.453-5.017 2.106-6.32 4.409-1.309 2.301-1.391 5.19-.3 7.527 1.056 2.34 3.253 4.156 5.776 4.553 2.497.44 5.133-.483 6.787-2.301 1.719-1.797 2.269-4.529 1.486-6.796-.583-1.81-1.976-3.331-3.7-4.046 3.417.594 6.174 3.221 6.174 6.781 0 1.004-.241 2.02-.657 2.966-1.498 2.984-4.586 5.041-8.149 5.041"/></g></svg>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
--color-medium: #12100e;
--color-nextdoor: #8ed500;
--color-pinterest: #cc2127;
--color-pocket: #ee4256;
--color-print: #f8f8f8;
--color-reddit: #ff4500;
--color-squarespace: #222;
Expand Down
17 changes: 0 additions & 17 deletions projects/js-packages/social-logos/src/svg/pocket.svg

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Social Menu: Remove Pocket sharing button.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ function jetpack_social_menu_social_links_icons() {
'pinterest.' => 'pinterest',
'pocketcasts.com' => 'pocket-casts',
'podcasts.apple.com' => 'apple-podcasts',
'getpocket.com' => 'pocket',
'ravelry.com' => 'ravelry',
'reddit.com' => 'reddit',
'slideshare.net' => 'slideshare',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,6 @@ Genericons
content: "\f210";
}

/* Pocket */
.jetpack-social-navigation-genericons a[href*="getpocket.com"]::before {
content: "\f224";
}

/* Polldaddy */
.jetpack-social-navigation-genericons a[href*="polldaddy.com"]::before {
content: "\f217";
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ $color-eventbrite: #ff8000;
$color-stumbleupon: #eb4924;
$color-reddit: #ff4500;
$color-pinterest: #cc2127;
$color-pocket: #ee4256;
$color-email: #f8f8f8;
$color-print: #f8f8f8;
$color-telegram: #08c;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -443,10 +443,6 @@
content: "\f510";
}

.genericon-pocket::before {
content: "\f224";
}

.genericon-polldaddy::before {
content: "\f217";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -445,10 +445,6 @@
content: "\f510";
}

.genericon-pocket::before {
content: "\f224";
}

.genericon-polldaddy::before {
content: "\f217";
}
Expand Down
5 changes: 0 additions & 5 deletions projects/plugins/jetpack/_inc/social-logos/social-logos.css
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,6 @@
}


.social-logo__pocket::before {
content: "\f224";
}


.social-logo__polldaddy::before {
content: "\f217";
}
Expand Down
4 changes: 4 additions & 0 deletions projects/plugins/jetpack/changelog/remove-pocket-sharing
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: bugfix
Copy link

Copilot AI Jan 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changelog entry uses Type "bugfix" while other changelog entries in the PR use "fixed" or "removed". For consistency, consider using "fixed" instead of "bugfix" since this appears to be a removal of deprecated functionality rather than fixing a bug.

Copilot generated this review using guidance from repository custom instructions.

Sharing: Remove Pocket sharing button.
Original file line number Diff line number Diff line change
Expand Up @@ -770,44 +770,6 @@ public function process_request( $post, array $post_data ) {
}
}

/**
* Pocket sharing service.
*/
class Share_Pocket_Block extends Sharing_Source_Block {
/**
* Service short name.
*
* @var string
*/
public $shortname = 'pocket';

/**
* Service name.
*
* @return string
*/
public function get_name() {
return __( 'Pocket', 'jetpack' );
}

/**
* Process sharing request. Add actions that need to happen when sharing here.
*
* @param WP_Post $post Post object.
* @param array $post_data Array of information about the post we're sharing.
*
* @return void
*/
public function process_request( $post, array $post_data ) {
// Record stats
parent::process_request( $post, $post_data );

$pocket_url = esc_url_raw( 'https://getpocket.com/save/?url=' . rawurlencode( $this->get_share_url( $post->ID ) ) . '&title=' . rawurlencode( $this->get_share_title( $post->ID ) ) );

parent::redirect_request( $pocket_url );
}
}

/**
* Telegram sharing service.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ function get_services() {
'twitter' => Share_Twitter_Block::class,
'tumblr' => Share_Tumblr_Block::class,
'pinterest' => Share_Pinterest_Block::class,
'pocket' => Share_Pocket_Block::class,
'telegram' => Share_Telegram_Block::class,
'threads' => Share_Threads_Block::class,
'whatsapp' => Jetpack_Share_WhatsApp_Block::class,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,6 @@ a.jetpack-sharing-button__button {
background: var(--color-pinterest);
}

&.share-pocket {
background: var(--color-pocket);
}

&.share-telegram {
background: var(--color-telegram);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ export const variations = [
title: 'Pinterest',
icon: <SocialLogo icon={ 'pinterest' } size={ 24 } />,
},
{
name: 'pocket',
attributes: { service: 'pocket', label: 'Pocket' },
title: 'Pocket',
icon: <SocialLogo icon={ 'pocket' } size={ 24 } />,
},
{
name: 'reddit',
attributes: { service: 'reddit', label: 'Reddit' },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,6 @@ const services = [
name: 'pinterest',
url: [ 'pinterest.' ],
},
{
name: 'pocket',
url: [ 'getpocket.com' ],
},
{
name: 'reddit',
url: [ 'reddit.com' ],
Expand Down
2 changes: 1 addition & 1 deletion projects/plugins/jetpack/modules/plugin-search.php
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ public function get_extra_features() {
),
'sharing-block' => array(
'name' => esc_html__( 'Sharing buttons block', 'jetpack' ),
'search_terms' => 'share, sharing, sharing block, sharing button, social buttons, buttons, share facebook, share twitter, social share, icons, email, facebook, twitter, x, linkedin, pinterest, pocket, social media',
'search_terms' => 'share, sharing, sharing block, sharing button, social buttons, buttons, share facebook, share twitter, social share, icons, email, facebook, twitter, x, linkedin, pinterest, social media',
'short_description' => esc_html__( 'Add sharing buttons blocks anywhere on your website to help your visitors share your content.', 'jetpack' ),
'requires_connection' => false,
'module' => 'sharing-block',
Expand Down
2 changes: 1 addition & 1 deletion projects/plugins/jetpack/modules/sharedaddy.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Auto Activate: No
* Module Tags: Social, Recommended
* Feature: Engagement
* Additional Search Queries: share, sharing, sharedaddy, social buttons, buttons, share facebook, share twitter, social media sharing, social media share, social share, icons, email, facebook, twitter, linkedin, pinterest, pocket, social widget, social media
* Additional Search Queries: share, sharing, sharedaddy, social buttons, buttons, share facebook, share twitter, social media sharing, social media share, social share, icons, email, facebook, twitter, linkedin, pinterest, social widget, social media
*
* @package automattic/jetpack
*/
Expand Down
14 changes: 0 additions & 14 deletions projects/plugins/jetpack/modules/sharedaddy/admin-sharing.css
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,6 @@ li.service.share-tumblr span::before {
content: "\f214";
}

li.service.share-pocket span::before {
content: "\f224";
}

li.service.share-pinterest span::before {
content: "\f209";
}
Expand Down Expand Up @@ -375,13 +371,6 @@ body.settings_page_sharing .advanced input[type="submit"] {
height: 20px;
}

.preview-pocket .option-smart-on {
background: url(images/smart-pocket.png) no-repeat top left;
background-size: 60px 20px;
width: 60px;
height: 20px;
}

.preview-item.share-deprecated {
opacity: 0.5;
}
Expand Down Expand Up @@ -418,9 +407,6 @@ body.settings_page_sharing .advanced input[type="submit"] {
background-image: url(images/[email protected]);
}

.preview-pocket .option-smart-on {
background-image: url(images/[email protected]);
}
}

/**
Expand Down
8 changes: 0 additions & 8 deletions projects/plugins/jetpack/modules/sharedaddy/amp-sharing.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,6 @@ amp-social-share[type="linkedin"]::before {
content: "\f207";
}

amp-social-share[type="pocket"] {
background: #ee4056;
}

amp-social-share[type="pocket"]::before {
content: "\f224";
}

amp-social-share[type="reddit"] {
background: #cee3f8;
color: #555;
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ public function get_all_services( $include_custom = true ) {
'twitter' => 'Share_Twitter',
'tumblr' => 'Share_Tumblr',
'pinterest' => 'Share_Pinterest',
'pocket' => 'Share_Pocket',
'telegram' => 'Share_Telegram',
'threads' => 'Share_Threads',
'jetpack-whatsapp' => 'Jetpack_Share_WhatsApp',
Expand Down
Loading
Loading