Skip to content

1.8.3: Connect, the plugin's own menu, and WooCommerce that works on the block checkout - #5

Merged
allinthecode1 merged 75 commits into
mainfrom
release/1.8.3
Sep 24, 2026
Merged

allinthecode1 merged 75 commits into
mainfrom
release/1.8.3

Conversation

@allinthecode1

Copy link
Copy Markdown
Contributor

1.8.3

The release a site owner can set up without leaving wp-admin, and the plugin looks and behaves like the mature WordPress plugins it sits beside.

Connect. One button replaces the API-key dance: create or sign in to a SendBeam account in a window, tick what the site may do, and the key arrives on its own. Connecting sets up the sending domain (you choose which), a list and a signup form, and the sender. Disconnect and Reconnect are on the Overview; automatic DNS comes back to WordPress when the registrar is done.

The plugin has its own menu with eight pages, a four-step setup guide on first activation, WordPress list tables for forms, lists and the email log, a Help page, three Site Health checks, and a design that reads as WordPress. The email log is a real table with retention.

WooCommerce claims verified on a real store: the opt-in box and the order event work on the block checkout as well as the classic one; Order placed fires once, when an order is paid; pop-ups never open over the checkout.

Fixed along the way: Disconnect that did not disconnect; saving one Forms card wiping the other; the test email and the Overview contradicting each other about the sending domain; the DNS records squeezed to nothing on the Overview; refusals answering 500; phone tap targets; and the rest listed in the changelog.

Verified by 1658 smoke checks, WordPress Plugin Check, and a 216-test browser suite against a live WordPress with WooCommerce active. Full detail in readme.txt and CHANGELOG.md.

Onboarding was four steps before the plugin could do anything: make an
account on sendbeam.io, verify a domain, create an API key with the right
permissions, paste it back. Every one of those was somewhere to stop.

The Overview tab's first step is now a button. The site says who it is and
what it wants to do; the person creates the account or signs in on
sendbeam.io in a pop-up, with the site name and their admin email address
already filled in; SendBeam hands this site a key with exactly the
permissions they ticked.

The plugin is the client in that exchange and never trusts the browser with
the key:

- the pop-up comes back with a single-use grant, not a key;
- the key is fetched server-to-server, from this site's own PHP
  (POST /api/v1/connect/exchange);
- `state` is the CSRF token, because a nonce cannot survive a redirect from
  another origin. It is minted here, kept in a transient belonging to one
  administrator, and deleted the moment it is read, in every branch — so a
  replayed return URL is worth nothing.
- site_url must be https (http only for localhost, 127.0.0.1 and .test/.local
  dev boxes), and nothing is remembered for a site that fails that check.

The key is written through the same sendbeam_sanitize_settings() path a
pasted key goes through, rather than straight into the option: one set of
validation rules instead of two, and the one that skips the validation is
always the one that stores rubbish. Pasting or removing a key by hand clears
the Connect marker, and Disconnect is the existing "Remove the saved key"
path — it forgets this site's copy and says plainly that the key stays valid
in SendBeam until revoked there.

Pasting a key still works, moved to a quiet "I already have an API key"
disclosure under the button. readme.txt gains a sixth external-service item
covering exactly what leaves the site and what comes back. uninstall.php now
sweeps sendbeam_connect_* transients for every administrator, not just the
one doing the uninstalling.

New includes/connect.php, 98 new smoke checks with the SendBeam end stubbed,
and the cross-origin half covered by a Playwright spec in the private e2e
repository.
Connecting a site and then leaving its owner to go and find DNS records on
sendbeam.io is the same friction Connect was built to remove, one screen
later. A fifth permission — "Set up this site's sending domain (yourdomain.com)
in SendBeam", ticked by default — lets consent add the domain, and the
Overview now shows what came back: the records as a table with a Copy button
on every value, a Check now button that re-runs the DNS check without leaving
wp-admin, and a Set up DNS automatically button where the registrar supports
it.

The checklist is four steps rather than three, with the domain second. It
used to call the one thing every other step depends on "optional". Step three
also stops claiming a form is on the site because a form was chosen in the
settings: it looks for the block or a shortcode in published content, once,
cached for half a day.

Site email fills its sender from the workspace, but switches on only when the
domain is verified — at consent time, from Check now, or from a one-click
Switch on. A site whose password resets silently stop arriving is worse off
than one that never turned the feature on. Approval that arrived before the
domain did is remembered in `sendbeam_mail_deferred` and completed by the
check; switching site email off by hand clears that flag, so a later check
never quietly undoes the decision.

Disconnect is a visible button on the connected card, confirmed inline rather
than with window.confirm(), and it revokes the key at SendBeam before
forgetting it here. The old path was a "Remove the saved key" checkbox inside
a card titled Connect, which forgot this site's copy and left a live key in
the workspace with a note telling you to go and revoke it yourself.

A blocked pop-up is no longer a dead end either: the form falls back to
navigating the current tab, which is remembered with the state, and the page
it lands on offers Back to the site instead of trying to close a window
nothing opened.
The new checks split three ways. What the exchange sets up: the form becomes
the default only when the site has not chosen one, the sender fills only empty
fields, site email stays off behind an unverified domain and goes on behind a
verified one, and a domain-connect link pointing anywhere but sendbeam.io is
dropped rather than rendered as a button. What the status endpoint does: one
request a minute, a check that bypasses the cache, and a failure — including a
200 carrying something that is not JSON — that returns the full shape so no
template indexes into a missing key. What the buttons do: Check now and Switch
on both re-read the permission and the domain rather than trusting the page
that drew them, and Disconnect revokes the key, forgets everything, and still
forgets it when sendbeam.io cannot be reached.

The Overview is now rendered by the smoke test and read back. No test could
see a settings screen before — the layer where a permission check, a nonce or
a whole form can drift without anything noticing — and four stubs of the
Settings API are all it took.
readme.txt's external-service entry 6 says what SendBeam changes in the
workspace at consent time, that the settings screen reads
/api/v1/connect/status while it is open, and that Disconnect revokes the key
rather than merely forgetting it. Installation gains the sending-domain step
in second place, which is where it is on the screen.
SENDBEAM_API_KEY in wp-config.php beats the saved key everywhere, and that
includes the revoke call Disconnect now makes. On a site that defines it,
pressing Disconnect would have revoked the wp-config key — one Connect never
issued, held outside the database on purpose, and very likely shared with
something else.

A key this site does not store is not this site's to revoke. The stored key is
forgotten as before, nothing is revoked, and the notice says where the live one
is and how to take it out of service.
Two records right out of three looked exactly like none: the table showed
what SendBeam wants and nothing about what is already there. The check
already annotates each record, so the answer is carried through and shown
per row — with never-checked kept apart from not-found, because telling
someone their DNS is wrong when nothing has looked is its own bug.

Every record is a CNAME under sendbeam.io, so the table still says nothing
about priority: an always-empty Priority column is a box a site owner goes
hunting for in their registrar.
The step printed the API's own timestamp — 2026-09-24T05:49:24.291+00:00 —
which is not a time anybody reads and is not even the right hour for most
of the people reading it. WordPress already knows the site's timezone and
the formats its owner picked, so it does the rendering. Anything that will
not parse is still shown as it arrived: an odd-looking date beats a step
that quietly stops saying when it last ran.
A null domain meant four different things — the box was never ticked, the
key predates domains being readable, the key has no site host, the row was
removed by hand — and step 2 could only answer "not set up" to all four.
The answer now carries a state and a sentence, and every word step 2 says
comes from it.

That also fixes what the owner found on the test site: the step read what
this site remembered granting, and a key pasted by hand records nothing, so
it announced a missing permission while printing that very domain's DNS
records directly underneath. What the key can do is whatever the answer
says it did.

The domain shown is always the one in the answer. The sending host is the
owner's choice at consent time and is often not this site's domain at all.
Un-ticking a permission at the consent page, or leaving the sending domain
box alone, could only be undone by disconnecting and connecting again — a
frightening instruction to give someone whose site is already working, and
one that revokes a key for no reason.

Any step whose sentence names a permission this site was never given now
ends in a link that starts the same Connect flow with every box preselected,
and the connected card carries a plain Reconnect beside Disconnect, asking
for exactly what the key already holds. The key that comes back replaces the
one this site has, by the ordinary return path.

A link cannot post an array, so the scopes travel as a csv and are cleaned
by the same function the panel's checkboxes go through. Asking for a
permission is still not being given it: the consent page decides.
Disconnecting forgot the key and left the rest of Connect's work sitting in
the site: a default form belonging to a workspace this site no longer has a
key for, so every embed 404s without a word, and a From address on a domain
it can no longer send from.

Each setting Connect fills is now recorded as it is filled, and Disconnect
puts back exactly that list. A form or a sender the owner chose is theirs
and is left alone; saving the tab by hand takes those settings off the list
for good, and so does pasting a different key.

The workspace side is untouched on purpose, and the confirmation now says
so: disconnecting one site is not a reason to dismantle a workspace other
sites may be sending from.
Records almost never spread while somebody is sitting in wp-admin: they are
entered at the registrar and the tab is closed. Step 2 then stayed unticked
and the site's email stayed held back until a human came back and pressed
Check now — the plugin waiting for the one thing it had just told the owner
they would not have to do.

An hourly event now does exactly what that button does, including finishing
the switch-on consent already approved, and stops the moment there is
nothing left to find out: verified, no domain any more, disconnected, or a
full day of asking. A request that fails is retried rather than counted;
sendbeam.io being down for an hour is not the same as the record not being
there. One an hour sits well inside the check's own rate limit.

Deactivating the plugin clears it, which the plugin had no hook for at all
until now: a switched-off plugin still making requests is one nobody can see
or stop from the screen they switched it off on.
Step 3 read published post_content and nothing else, which is one of about
six places a form goes. A block theme keeps the footer in a template part; a
classic theme keeps it in a block widget; every page builder worth the name
keeps its layout in post meta. All three ticked nothing, leaving an
unfinished checklist beside a working form.

All of them are looked at now, across every public post type, and the form's
own hosted URL joins the block and the shortcodes as something to look for —
that is what a builder pastes in. A text widget only counts when a sidebar
actually holds it: one sitting in the inactive pile is a leftover, not a
form on the site.

No list of six will ever be seven, so "I've placed it elsewhere" ticks the
step on the owner's word, and the step says plainly that this is what is
holding the tick — with a way to take it back.
The Overview asked for the connection's status on a cold cache with the
timeout meant for a button somebody pressed, so the first load of every
minute could sit there for ten seconds, and a failed request blanked the
panel of DNS records the owner was halfway through copying.

Screen renders now wait four seconds and fall back to the last answer they
had, marked as old, with the domain state saying SendBeam could not be
reached. The answer is kept for half a day rather than the minute it is
trusted for; the hourly re-check and the next load refresh it.

The cache is also per key now, hashed. Two administrators signed in to
different workspaces shared one transient, so for up to a minute each was
shown the other's sending domain and told to put its records into their own
DNS. The hash rather than the key because a transient name ends up in the
options table, in backups and in logs.
A key defined as SENDBEAM_API_KEY beats anything saved in the database,
everywhere. Connecting on such a site minted a real key, stored it, and then
never used it — a live credential sitting unused in a database, and a
checklist telling its owner to go and make one.

The panel now says where the live key actually is and how to change it, the
connected card says the same and warns that Disconnect will not revoke it,
and step 1 stops telling anybody to press a button that is deliberately not
on the screen.

The smoke test defines that constant for the status and disconnect checks,
and a constant cannot be un-defined again in one process, so the handful of
assertions about a site with no key anywhere now run before it is defined.
Pressing "Set up DNS automatically" started in a wp-admin checklist and
ended on SendBeam's sending settings — a reasonable place to finish if you
had started there, and the wrong one entirely when what you wanted was to
come back and see the step ticked.

The link now carries this site's Overview as the address to return to, and
the page it returns to says what happened: the records were added and it is
checking, or the registrar refused and here is SendBeam's reason with the
records right underneath to enter by hand. Coming back spends exactly one
check, and a domain that verifies on it finishes the held-back switch-on the
same way pressing Check now does.

The flag comes straight off the address bar once it has been read, so a
refresh neither checks again nor claims to be checking.
readme.txt, README.md and CHANGELOG.md cover every refinement in this
release: choosing the domain you send from, the per-record verdict, why
there is no sending domain when there is none, reconnecting without
disconnecting, what Disconnect leaves behind, the hourly re-check, automatic
DNS returning to WordPress, where the form step looks, the four-second
render, one cached answer per key, and a key pinned in wp-config.php.

Three new FAQ answers for the questions this release creates: sending from
a domain that is not the site's, what survives a disconnect, and the form
step that will not tick because the form is somewhere nothing can read.

No version bump: 1.8.3 has not shipped.
Falling back to the last known status keeps a screen useful when sendbeam.io
cannot be reached, but it quietly changed what the buttons mean: a Check now
whose request never left would have reported the cached verdict as if it had
just been checked, and a cached body from this morning saying the domain had
verified would have switched the site's email on.

Anything that acts on a status — the button, the hourly re-check, the
held-back switch-on — now asks whether the answer is one SendBeam actually
just gave. Screens carry on showing the old one, marked as old.
The Connect panel already says, on a site that defines SENDBEAM_API_KEY,
that the live key is the one in wp-config.php and that connecting here
would store a second key nothing ever reads. The paste field underneath
went on offering exactly that — a key saved into the options table that
loses to the constant on every single request.

It is no longer rendered on those sites. The sentence above it is the
whole answer: the key lives in wp-config.php, and that is where it changes.
Reconnecting is how a site changes workspace, and everything Connect filled
in names something in the workspace it has just left. The form ID stayed
behind in the settings, so every embed on the site went on asking a
workspace this site no longer has a key for and 404ing without a word; the
From address went on naming a domain the new workspace cannot send from.

The site now remembers which workspace it joined, by ID rather than by name
— names are not unique and renaming one is not moving to another. When an
exchange comes back from a different workspace, the values Connect filled
are released first, and the fills that follow come entirely out of the new
workspace's answer.

Anything the owner typed themselves is not on that list and is untouched,
and reconnecting into the same workspace still leaves a live embed pointing
where it pointed.
Site email held back by an unverified domain says it is waiting on step 2.
When step 2 is itself waiting on a permission that was never ticked, the
sentence sent the owner up the page to find a link that is the same link —
and the step they actually came to use offered nothing at all.

It now carries the reconnect link as well whenever the missing piece is the
domain permission, not only when it is the send permission.
The sending host is chosen once, on the consent page, and the plugin never
mentioned that again. A site owner who set up the wrong domain — the site's
own rather than the brand's, or a subdomain they meant to keep for something
else — had a step full of DNS records for a domain they did not want and no
sentence anywhere saying where the choice was made.

Step 2 now carries one line to the consent page at all times, including when
the domain is verified and everything looks finished, because that is when
people notice.
The "I've placed it elsewhere" link is the answer for a form nothing on this
site can read: one kept in a page builder's own storage, one on a page behind
a login, one named in its own shortcode rather than by the default. It was
offered only when a default or contact form had been chosen here, which is
exactly the site that does not need it — and the sites that do were left with
a step that would never tick and no way to say so.

It is now offered whenever there is any form in the workspace at all. The
shortcode beside it still appears only when there is a default form for it
to mean.
Coming back from the registrar said "Checking now…", which promised a page
about to change and then never changed: the check runs at the top of that
same render, so the step underneath is already showing what it found by the
time anybody reads the line above it.

It now says the records were checked just now, in the tense it happened in.
Step 1 of the checklist linked to the paste field — the way of connecting
this plugin stopped leading with a release ago, and the one now folded away
inside a disclosure. Following the checklist therefore walked straight past
the Connect button to the thing it exists to replace.

The Connect panel now has an id and step 1 points at it. A site whose key is
pinned in wp-config.php has no panel to point at, so it keeps the key
field's anchor.
Squiz.Commenting.BlockComment.NoEmptyLineBefore, in the reconnect branch on
step 4 and above the wrong-domain line on step 2. Whitespace only.
The workspace ID is a longer key than anything beside it, so the default
settings array and the disconnect block were left with their arrows out of
step. Whitespace only.
Everything lived at Settings → SendBeam behind seven tabs that did not appear
in the admin menu: to reach the pop-up settings you had to know the plugin was
under Settings and then know the tab existed. There is now a top-level menu
with the three-square mark and a real item per section, one router behind all
of them, and a 301 from every old address so bookmarks and support links still
land in the right place.

The Plugins-screen "Settings" link points at the new Settings page rather than
at a dashboard. The Docs tab becomes Help.
sendbeam_mail_enabled() means "switched on AND usable", and three callers
read it as one or the other. The checkbox renders the raw setting, the Site
Health relay test reads the raw setting, and the test-email handler asks
sendbeam_mail_enabled() and then prints a sentence that can only be about the
checkbox.

So a site with the box ticked and no key — which is where Disconnect leaves
every site that had site email on — showed the box ticked, answered a test
email with "tick the box above, save, and try again", and reported two
critical Site Health issues including "This site's email is being sent from
an unverified domain". None of it was happening: without a key
sendbeam_pre_wp_mail() never short-circuits and WordPress sends its own mail
exactly as it did before the plugin was installed.

sendbeam_mail_blocked() answers which of the two is missing, and the three
screens say that instead.
Every row of the test email was derived from what the site asked for and none
of it from what happened. sendbeam_effective_sender() built email, host and
kind purely from $settings['mail_from_email'], sendbeam_mail_facts() printed
that host as "Signed by", and the next-step sentence came from the same guess.

SendBeam does not refuse a message whose From is on a domain the workspace has
not verified: it accepts it and substitutes the workspace's own sender. A test
email therefore arrived from ws-db645350@mail.sendbeam.io with DKIM
d=mail.sendbeam.io while telling the reader that hello@wp-test.sendbeam.io had
sent it, that wp-test.sendbeam.io had signed it, and that SendBeam refuses
messages from that domain. The one that matters is "Signed by": naming a
domain that took no part in the transaction defeats the entire purpose of a
test email.

The sender now carries `used`, `signed` and `substituted` alongside `kind`.
domain_state 'unavailable' is set in two unrelated places: by the plugin when
a status request fails, and by SendBeam in a perfectly successful answer
meaning "I could not add that domain". Step 2 knew only the first reading, so
a site that had just connected read "SendBeam could not be reached; showing
the last known state" while the status it was rendering from carried ok:true
and the real explanation — "That domain is already registered" — in both
domain_note and notes.

sendbeam_connect_status_is_live() tells the two apart: a reply served because
the request failed is marked stale and carries the error, one SendBeam gave
carries neither.
sendbeam_wizard_rail() marked every step whose number was lower than the
current one is-done and printed a tick for it, with no reference to
$step['done']. Every step carries Skip this step, so step 3 is one press away
from a fresh install: the rail read "✓ Connect · ✓ Sending domain · 3 Site
email" above a body saying "This step needs a connected site. Go back to step
1", on a site with no key, no workspace and no domain.

sendbeam_setup_steps() has always been able to answer this — the Overview's
checklist showed both steps as not done at the same moment on the same site.
The rail reads it now.
sendbeam_form_placement() returned 'popup' if sendbeam_popups() was non-empty,
and sendbeam_popups() returns every rule that was ever saved — unticked ones
and ones with no form chosen included, which is right for the editing screen
and wrong for every question of the form "is there a pop-up on this site".

So an owner who unticked Active on both rules and pressed Save pop-ups was
shown "✓ Put a form on the site — A SendBeam pop-up is live on the site" while
the front end served no loader on any page. sendbeam_active_popup() has always
done the matching properly; the checklist simply did not use it.

sendbeam_live_popups() is that question asked once: switched on, and with a
form to show.
sendbeam_shortcode_contact() took only a height attribute and always rendered
$settings['contact_form'], while the Forms table offered every contact row the
same bare [sendbeam_contact] beside a Placed on column reading "Not a default
— place it by shortcode". On a site with four contact forms, three of those
rows handed the owner a shortcode that places a different form, and the
column's own instruction could not be carried out for any of them.

[sendbeam_contact id="…"] names one. A bare [sendbeam_contact] still renders
the default, so nothing already on a published page changes.
sendbeam_debug_information() answered "Connected by" with a two-way ternary on
sendbeam_connected_via_connect() and had no third case for a site with no key
at all, so a disconnected site reported:

    API key: Not set
    Connected by: A pasted key
    Connection state: none

This block is what the Help page offers as "Copy for support", so it is the
first thing anybody reading a support request sees, and it sends them looking
for a key nobody ever pasted. The sending-domain state on the same block
rendered completely blank for the same reason — domain_state is empty on a
site that has never asked — and a blank value in a pasted report reads as a
fault in the report.
sendbeam_remote_forms() and sendbeam_lists() both turn anything that is not a
successful answer into null, and sendbeam_connection() answers state 'none'
with no key, so null means "the key was refused" and "there is no key" alike.
The two empty states read only the first, and a site with no API key was told:

    Your forms cannot be read with the current key. Give it the Forms (read)
    permission in SendBeam, or reconnect this site.

on a screen whose header band already said "Not connected" — sending the owner
to SendBeam to add a permission to a key that does not exist.

The list-table load-order assertions move to the top of the smoke tests, which
is the moment they actually describe, so a screen's empty state can be
rendered anywhere in the file.
The api_key_remove branch of the sanitiser cleared the option and stopped. So
a site connected with the Connect button, whose owner ticked "Remove the saved
key" on Settings → Advanced, ended up with sendbeam_connected_via emptied, the
workspace forgotten, and the key itself still answering 200 at
/api/v1/connect/status — the exact situation the Disconnect rewrite was
written to end, reached through a second door the rewrite did not touch.

The decision about what may be revoked — a wp-config constant this plugin
never issued, a pasted key that may be in use on another site, or a key
Connect minted for this one — is now one function, sendbeam_connect_release_key(),
shared by both doors. The field also says which of the two removing this key
does, which it never said at all.
sendbeam_connect_consent_url() sent site_url and the domain scope on every
run, and the consent page derived SEND FROM from it. So a reconnect done for
any other reason at all — more permissions, a changed workspace, a key
rotation — silently re-set this site's sending domain to its own host: the
domain the owner had chosen went from the workspace, its three CNAMEs with it,
and sendbeam_connect_recheck was unscheduled. The screen afterwards said only
"This site's sending domain is no longer in the workspace."

The consent request carries sending_host when this site already has a domain,
read from the status body rather than derived from site_url, and SendBeam
prefills SEND FROM with it. A first connect passes nothing, and neither does
"Sending from the wrong domain? Reconnect and enter the one you want", whose
whole purpose is choosing another.
.sb-copy-field was white-space: pre with overflow: auto, and the wrapping
rule — white-space: pre-wrap with word-break: break-all — was applied only
inside the <=782px media query. So the phone case that had been complained
about was fixed and the desktop one was not.

The Host column is 30%, about 282px at 1280px, and
resend._domainkey.mail.wp-test.sendbeam.io is longer than that. The field
whose entire purpose is being read accurately and compared against what was
pasted into a registrar showed "resend._domainkey.mail.wp-test.sendbea…".

Wrapping is the default at every width now; the phone override is gone
because it says nothing the base rule does not. overflow stays auto rather
than becoming hidden, so a browser with no JavaScript — where the fitting
script never runs — scrolls to the rest of a wrapped value instead of losing
it.
sendbeam_handle_domain_check() always redirected to
sendbeam_tab_url( 'overview' ), with no idea which screen the form was on.
The check is offered in two places, and one of them is the screen holding the
DNS records the owner is half-way through copying into their registrar:
pressing Check now there moved them to the Overview to read the answer and
left them to navigate back to the records to carry on.

The form says which page it is on and the handler comes back to it. A value
that is not one of this plugin's own pages falls back to the Overview.
sendbeam_domain_panel()'s standalone branch called
sendbeam_domain_sentence( '', false ), which has no access to domain_note —
so the Overview's step 2 read "No sending domain is set up for this site.
This site's sending domain is no longer in the workspace. Reconnect the site,
or add the domain again under Settings → Sending." while Settings → Sending
domain, the screen actually about the subject, said only "No sending domain
is set up for this site. Add one under Settings → Domains in SendBeam."

Both come from one sentence now. It also stops appending the plugin's own
instruction after SendBeam's, which is what had the Overview naming two
different SendBeam screens in consecutive sentences.
Nineteen call sites read

    wp_die( esc_html__( 'You do not have permission to do that.', 'sendbeam' ) );

and wp_die() with no status argument defaults to 500. The refusal itself was
correct — an Editor got the right page on all sixteen admin-post actions — but
every one of them wrote a server error into the access log and into any uptime
monitor watching status codes, for a check that was working exactly as
intended. The nonce refusals were already right, because check_admin_referer()
answers 403 itself.

The smoke test takes its list from the hooks the plugin actually registered,
so an action added later cannot quietly miss this, and a source scan covers
the one refusal that is not an admin-post action.
Measured at 393px on every SendBeam screen: the "I already have an API key"
summary 26px, Copy / Remove / Choose / Clear the log 30px, Check now and Set
up DNS automatically 30px, Save changes and Connect SendBeam 36px. Apple's
guidance is 44pt and Android's 48dp, and the 26px disclosure on the Overview
is the first control an owner reaches for.

Below 782px buttons are 44px, small buttons 40px, and the paste disclosure and
the button-shaped links are sized with them. Padding grows with the height so
a bigger target is not a taller sliver. Desktop metrics are untouched; this
was only ever a phone problem.
The Audience screen's form-plugin table probes for a class or a function,
which is the right probe: it answers whether that plugin is running. It then
printed "Not installed", which the probe cannot know and which was false on
the test site for three of the five rows — WPForms Lite and Fluent Forms are
both in wp-content/plugins there, installed and not activated.

The person reading that row is usually the person who has just installed one
and is wondering why nothing changed, so it is the worst possible place for
the plugin to be confidently wrong. "Not active" is true in both cases.
sendbeam_connect_granted_list() reuses the consent page's own scope labels,
and the domain scope's label interpolates sendbeam_connect_site_host(). On a
consent page that is exactly right: it is the domain about to be set up. On a
connected site it describes the request rather than the outcome, so a site
that connected with SEND FROM set to mail.wp-test.sendbeam.io went on reading
"Set up this site's sending domain (wp-test.sendbeam.io) in SendBeam".

The connected card names the domain in the status body. A site that has no
domain keeps the scope's own wording, because there is nothing better to say
and an empty parenthesis would be worse.
Two defects the browser suite found on the last build.

.sendbeam-app .is-hidden{display:none} is (0,2,0) and the Settings API reset
.sendbeam-app .form-table tr{display:block} is (0,2,1), so the more specific
rule won and the From name, From address and fallback rows on Site email were
drawn whether the switch was on or off — precisely what the comment beside
that pattern says it prevents. The rule carries !important now, as the
[hidden] rule two lines above it always has, and the smoke tests parse the
stylesheet and compare specificities instead of matching one string, so the
next rule that out-ranks it fails in the tests rather than on a screen.

The phone tap sizes only covered .sb-btn: .sb-btn--small was left at 40px and
.sb-tab at 42px, which is Copy, Remove, Choose, Check now, Set up DNS
automatically, Reconnect, Send a test email, both "Yes, …" confirmations and
the whole Settings tab bar — the controls an owner presses most. "Small" is
about how loud a button is, not about how hard it should be to hit.
readme.txt listed one contributor. The owner created a second WordPress.org
account for support, and a plugin whose forum replies come from a name that
is not on the listing looks like somebody else answering for it.

Nothing else in the header changes.
The seven in .wordpress-org were shot against 1.8.2, before the menu, the
list tables, the setup guide, the records table and the test-email card
existed; readme.txt has listed nine since. All nine are re-taken from the
current build on a real site against a live SendBeam workspace, one per
readme entry, in that order, 1280x800 at 1x.

Nothing is seeded, mocked or blurred. The only editing is that other
plugins' admin notices are hidden, so each shot is of this plugin rather
than of somebody else's nag.

Screenshot 1 is the block on the published page rather than in the editor.
The block's live preview inside the editor canvas currently renders
SendBeam's "This form can only be shown on the sites its owner has listed"
— the canvas is a nested iframe with an opaque origin, so the allowed-origins
check sees no referrer, while the same form on the same site's published page
renders correctly. That is a defect to fix, not a thing to photograph.
The block's edit component handed the hosted form to ServerSideRender, which
put a cross-origin iframe inside the editor canvas. Since the canvas became an
iframe of its own it has an opaque origin, so the embed carries no referrer —
and SendBeam serves a form only to the sites its owner has listed, which it
decides from exactly that. The block therefore read "This form can only be
shown on the sites its owner has listed" on a site that is listed, whose
published page renders the same form perfectly. Reproduced on wp-test both
connected and disconnected.

The fix is not to loosen the check: a form served without a referrer is a form
anybody can embed with referrerpolicy=no-referrer. The editor stops asking
instead. It draws the mark, the chosen form's name and whether it is a signup
or a contact form, one line saying the form appears there on the published
page, and a Preview link that opens the hosted form in a tab, where there is a
referrer. wp-server-side-render goes with it — an editor should not load a
script nothing uses.

The front end is untouched: a published page embeds the form exactly as before,
which the tests assert alongside the placeholder.
Captions 4 and 9 each listed about two screenfuls of a screen that is 800px
tall in the listing. Caption 4 promised the defaults, the colours and the
searchable list of every form; caption 9 promised the documentation, the
shortcodes, the permissions and the system status. The frames show the first
half of each, and a caption that describes what is not in the picture is worse
than a shorter one.

Both now say what is there, and caption 4 says where the rest of it is.
Three things the plugin promised about WooCommerce did not hold on a real store. The block checkout WooCommerce installs by default rendered no opt-in box and fired no order event, because both hooks belonged to the classic checkout; the box is now registered as an additional checkout field in the order area and read back from the order the Store API hands over. Order placed fired at checkout, before any payment, for orders that might never be paid; it now fires once the order is paid, once per order, recorded on the order itself. And a pop-up set to every page opened over the checkout with its overlay on Place order; pop-ups never open on the cart, checkout or account pages now, and the Pop-ups screen says so.
The checklist row rule (.sb-steps li{display:flex}) matched every list item inside a step, including the numbered list that holds the records table, so the table became a flex item beside its own sentences and shrank to two pixels: an owner connecting a second domain saw the instructions and nothing to add. The rule is scoped to the checklist's own rows, the nested list stays a list, and the records wrapper is sized by its container rather than its content.
Pressing the sending-domain step on the Overview opened SendBeam's settings, as if the plugin could not show the records itself; with the records collapsed to a sliver that was the only way anyone could find them, and it read as the plugin handing the job off. The step now opens the plugin's Sending domain screen while a domain exists, and SendBeam only when there is none to show.
@allinthecode1
allinthecode1 merged commit 05070b1 into main Sep 24, 2026
4 checks passed
@allinthecode1
allinthecode1 deleted the release/1.8.3 branch September 24, 2026 17:27
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.

2 participants