Repository navigation
Conversation
Twitter/X and Facebook previews were initialised only inside an ajaxComplete handler gated to activity_filter / post_update / new_activity_comment. BuddyPress Nouveau AJAX-loads the activity directory so it worked there, but any server-rendered view - an activity permalink, or a theme that paints the stream directly - left the container an empty 52px box with nothing logged. The loop is now a named function called on $(document).ready() as well, with a twttr.ready() second pass for a slow widgets.js. The widget id is also claimed only once the SDK is confirmed present, so a slow SDK can no longer retire a container permanently. Composer layout: the image nav was absolutely positioned but its wrapper was static, so it escaped to .activity-link-preview-container and centred across the whole card - at 1280px the arrows sat 331px from the 160px thumbnail. The float and positioning context now live on #activity-url-scrapper-img-holder, and the small-screen stack rule and RTL flip were updated to match. Also: tweet theme follows data-bx-mode instead of a hard-coded 'light'; close controls moved to top-right at all widths and raised to 40px touch targets (32px for the thumbnail overlay, which now has a scrim so it is visible over light images); the 40px composer well no longer trails every saved preview; 11 PHPStan level 5 findings cleared; dead CSS and unused JS variables removed. Verified in the browser at 1280 / 390 / 375px in light and dark on WordPress 7.0.4, BuddyPress 14.4.0, Reign 8.0.4, PHP 8.2.
The four live pages on docs.wbcomdesigns.com were last updated 2025-04-24, roughly sixteen months and five releases stale, and had never been in version control. Migrated to docs/website/ and re-verified every claim against the 1.7.6 source. Three needed correcting: - Both the Introduction and Features pages advertised "specialized support for Facebook, Twitter, YouTube, and LinkedIn". LinkedIn support has never existed; the social embed list is x.com, twitter.com and facebook.com. readme.txt dropped the claim in 1.7.4, the docs did not. - No page documented a single filter, even though this plugin has no admin UI and filters are its only configuration surface. All seven are now documented with signatures and worked examples. - The REST page covered bp_activity_link but not bp_activity_comment_link. The bp_activity_link key itself was verified correct and carried over unchanged. Nothing is published or synced from here - GitHub only, per the docs policy. CLAUDE.md: corrected 1033 lines / 20 functions to the actual 1275 / 23, re-verified every entry-point line reference (all six had drifted), and removed the Recent-changes table - readme.txt owns the changelog and Basecamp owns bug status, so a duplicate here only goes stale. manifest.json: bumped to 1.7.6, corrected the line and function counts, and rewrote static_analysis.real_type_debt, which recorded count 0 while 11 PHPStan findings were open on the board. Also recorded that the CI phpstan and wpcs jobs cannot fail a build, and that Twitter/Facebook previews are the one render path with no PHP fallback.
…olours; bare-domain links - Tweet embeds: each container remembers the theme it was rendered in, instead of a page-lifetime Set of ids. Containers AJAX swaps in on a filter change render again, and a light/dark switch (data-bx-mode, watched) re-renders them in the new theme. Stale widgets from a mid-load switch are dropped. - Colours: --bpalp-* tokens read --bx-color-* -> --reign-* -> theme.json presets (light only) -> literal, the Member Reviews chain. Buttons read only real button tokens. Light literals for text and muted now pass WCAG AA. - Composer: bare domains with a path or subdomain (en.wikipedia.org/wiki/X) are previewed over https; a guess that cannot be previewed fails silently. - Single-label hosts (https://www/, intranet names) are refused by the preview endpoint's host guard.
createTweet resolves without a widget when the post is gone; the container kept its border with nothing inside. The link stays in the post text.
…m paragraphs BuddyX Pro's .buddypress-wrap .activity-inner p adds 15px side padding on phones, so wrapped excerpt lines started indented under the image.
# Conflicts: # docs/website/developer-guide/filters.md # docs/website/docs_config.json # docs/website/getting-started/introduction.md
The default preview template emitted url, title and image hidden fields but no description, so posts and comments saved an empty description unless the member changed the preview image first (that re-render did include it). Same in 1.7.5.
- .wordpress-org/ icon, banners and screenshot, excluded from the zip - readme: Tested up to 7.1, Requires PHP 8.1, docs hub links, More from Wbcom Designs, changelog ordered by action prefix - manifest delta: line refs recomputed, init listener and negative_cache_ttl filter added - docs: PHP 8.1 floor, tested up to 7.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release branch for 1.7.6. Changelog: see the 1.7.6 section of readme.txt.
Release gates run on this branch:
Includes a fix found during the smoke: saved previews dropped the link description (also present in 1.7.5).