Skip to content

Rename Subscriptions to Following in the frontend#616

Merged
akirk merged 4 commits intomainfrom
rename/subscriptions-to-following
Mar 26, 2026
Merged

Rename Subscriptions to Following in the frontend#616
akirk merged 4 commits intomainfrom
rename/subscriptions-to-following

Conversation

@akirk
Copy link
Owner

@akirk akirk commented Mar 26, 2026

Summary

  • Rename all frontend-facing "Subscriptions" labels to "Following" to match familiar social media conventions (per Friends Main Feed Not Updating #596 feedback)
  • Add /friends/following/ route; /friends/subscriptions/ now redirects for backwards compatibility
  • Update widget titles: "Add Subscription" → "Follow", "X Subscriptions" → "X Following"
  • Update block strings and sidebar block titles
  • Internal identifiers (class names, CSS classes, registered block names, DB values) are unchanged

Test plan

  • Visit /friends/following/ — shows the following list with "Following" title
  • Visit /friends/subscriptions/ — redirects to /friends/following/
  • Sidebar widget shows "X Following" with correct link
  • Block theme renders with updated strings
  • CI passes

@github-actions
Copy link

github-actions bot commented Mar 26, 2026

Test this PR in WordPress Playground

You can test this pull request directly in WordPress Playground:

Launch WordPress Playground

This will install and activate the plugin with the changes from this PR.

akirk added 2 commits March 26, 2026 12:08
Use the more familiar social media terminology "Following" instead of
"Subscriptions" across all frontend-facing strings. The new URL
/friends/following/ replaces /friends/subscriptions/ (which now
redirects for backwards compatibility).

Internal identifiers (class names, CSS classes, block names, database
values) are unchanged to avoid breaking changes. Refs #596.
Add a /friends/mutual/ route that shows mutual connections (followers
you also follow back) with a "Friends" title. Add "Friends" link to
the stats widget and block.

Improve the followers template with semantic CSS classes (follower-item,
follower-link, follower-info, follower-name, follower-handle,
follower-meta, follower-actions, etc.) and replace nested dashicons
with single clear icons plus text labels (Following/Follow back/Remove).

Add an "Unfollow" action button to each subscription on the Following
page linking to the existing unfriend flow.

Style both followers and subscriptions lists in the Mastodon theme with
grid layouts, proper spacing, and action button hover states. Hide the
chips/filter area on static pages (following, followers, mutual).

Refs #596.
@akirk akirk force-pushed the rename/subscriptions-to-following branch from a5711cf to c80c0db Compare March 26, 2026 13:03
akirk added 2 commits March 26, 2026 21:45
Add count_mutual_followers() to Feed_Parser_ActivityPub with 1-hour
transient caching. Display the count next to the "Friends" link in
both the legacy widget and the Gutenberg stats block.
@akirk akirk merged commit 0e753b5 into main Mar 26, 2026
25 checks passed
@akirk akirk deleted the rename/subscriptions-to-following branch March 26, 2026 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant