Title: WordSocket
Author: wpsignal
Published: <strong>30. marts, 2026</strong>
Last modified: 8. november, 2026

---

Søg plugins

![](https://ps.w.org/wordsocket/assets/banner-772x250.jpg?rev=3612188)

![](https://ps.w.org/wordsocket/assets/icon-256x256.jpg?rev=3504744)

# WordSocket

 Af [wpsignal](https://profiles.wordpress.org/wpsignal/)

[Download](https://downloads.wordpress.org/plugin/wordsocket.0.31.0.zip)

 * [Detaljer](https://da.wordpress.org/plugins/wordsocket/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/wordsocket/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/wordsocket/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/wordsocket/#developers)

 [Support](https://wordpress.org/support/plugin/wordsocket/)

## Beskrivelse

WordSocket sends realtime events from your WordPress site to connected browsers.

When content changes: a post is published, a comment is approved, an option is updated:
the plugin pushes the event to subscribers instantly via WebSocket (with SSE fallback).

When real-time collaboration is available (currently through the Gutenberg plugin),
WordSocket also registers as a WebSocket-based Yjs sync provider for realtime collaborative
editing in the block editor, replacing the default HTTP polling transport with a
low-latency WebSocket connection.

WPSignal is an independent service and is not affiliated with or endorsed by the
WordPress project.

**Features:**

 * One-click automatic connection via the WPSignal dashboard (no API key required)
 * Manual connection via API key for advanced setups
 * Disconnect button with inline confirmation: the site is archived on the server,
   its usage history is kept, and reconnecting the same URL restores it
 * WebSocket-first with automatic SSE fallback
 * Per-site JWT signing secrets: each site’s connection tokens are cryptographically
   isolated
 * AES-256-GCM encrypted event payloads: the WPSignal relay never has access to 
   their plaintext
 * Admin toggle to disable the collaboration provider and fall back to Gutenberg’s
   HTTP polling
 * Built-in triggers for post updates and custom post types
 * Custom trigger builder: map any WordPress action hook to a realtime event
 * Public JavaScript API (`window.WPS`) for themes and plugins to share the connection
 * Extensible connection token: `wpsignal_token_channels` and `wpsignal_token_channel_prefixes`
   filters let other plugins add channels and namespace permissions to the JWT without
   modifying core
 * Admin explorer page with live event log, publish form, and token inspector
 * Short-lived JWTs (5 min) with automatic refresh

**How it works:**

 1. Install the plugin and connect to the WPSignal service.
 2. When content changes in WordPress, the plugin encrypts and publishes an HMAC-signed
    event to the WPSignal server.
 3. The server pushes the ciphertext to all browsers subscribed to that channel.
 4. The browser decrypts the payload and dispatches `wpsignal:*` DOM events. The relay
    never sees the payload’s plaintext.
 5. When real-time collaboration is available on the site, the block editor uses the
    same WebSocket connection for collaborative editing with no extra configuration.

#### Real-Time Collaboration

WordSocket ships a WebSocket sync provider for the block editor’s real-time collaboration
feature. Three things need to be true for it to activate:

 1. **The Gutenberg plugin is active.** Real-time collaboration was removed from WordPress
    core before the 7.0 release and is only available through the Gutenberg plugin.
 2. **Real-time collaboration is enabled** under **Gutenberg > Experiments > Enable
    real-time collaboration** (Gutenberg 23.8 and later; earlier versions used Settings
    > Writing).
 3. **The site is connected to WPSignal**, since the provider shares the plugin’s WebSocket
    connection.

The WordSocket Settings tab shows a “Gutenberg detected” badge when the feature 
is available on your site. Once active, everything collaboration syncs travels over
the WebSocket instead of HTTP polling: document updates, cursors and presence, and
collaborative notes. If the connection drops, the provider reconnects with increasing
delays; after repeated failures the editor shows its standard “connection lost” 
dialog, and documents re-sync when the connection returns. If a site’s credentials
are revoked, the editor reports an authentication error instead of retrying forever.
The site editor does not use sync providers (core disables collaboration there).
Disabling the provider from the Settings tab restores Gutenberg’s HTTP polling for
all editors.

#### Third-Party Service

This plugin connects to the **WPSignal service** at api.wpsignal.io for the following
operations:

 * **Site registration**: when you connect in the admin (via the automatic one-click
   flow or by entering an API key manually), the plugin registers your site with
   the server and receives credentials.
 * **Event publishing**: when a trigger fires (e.g. a post is saved), the plugin
   sends an encrypted, HMAC-signed HTTP request to the server.
 * **Realtime connections**: logged-in users’ browsers connect to the server via
   WebSocket or SSE to receive events.
 * **Collaborative editing**: when real-time collaboration is enabled through the
   Gutenberg plugin, editors’ browsers relay Yjs document updates (binary diffs 
   of the post being edited), cursors and presence to each other through the server,
   over the same WebSocket.

Event payloads are AES-256-GCM encrypted before leaving WordPress, so the WPSignal
server relays ciphertext and never has access to their plaintext. Collaborative 
editing updates are **not** encrypted: the server could read them, though it only
forwards them and never parses or stores them. Data is delivered in realtime and
is **not persisted** on the server.

 * [Terms of Service](https://wpsignal.io/terms)
 * [Privacy Policy](https://wpsignal.io/privacy)

#### Setup

#### Showcase

**ShopSocket for WooCommerce**

A live orders board, live and abandoned carts, and live stock on product pages, 
built on WordSocket. [On WordPress.org](https://wordpress.org/plugins/shopsocket/).

Below are a few examples showcasing the possibilities with WP Signal + WordSocket.
Repository https://github.com/wpsignal/wordsocket-examples

**Living Posts – Interactivity API**

Source code: https://github.com/wpsignal/wordsocket-examples

**Bidirectional Realtime Chat Plugin**

**Realtime Poker Plugin**

### Open Source

[https://github.com/wpsignal/wordsocket](https://github.com/wpsignal/wordsocket)

#### Third-party libraries

The browser client bundles [@noble/ciphers](https://github.com/paulmillr/noble-ciphers)(
MIT, audited) for AES-256-GCM decryption on plain HTTP pages, where browsers do 
not offer SubtleCrypto. It is compiled into `build/client.js` by `npm run build`.

## Skærmbilleder

[⌊Connect tab (Automatic): one-click connection flow. Log in to your WPSignal dashboard
and authorize the site with a single button.⌉⌊Connect tab (Automatic): one-click
connection flow. Log in to your WPSignal dashboard and authorize the site with a
single button.⌉[

Connect tab (Automatic): one-click connection flow. Log in to your WPSignal dashboard
and authorize the site with a single button.

[⌊Connect tab (Manual): paste your API key directly for setups where the automatic
flow is unavailable.⌉⌊Connect tab (Manual): paste your API key directly for setups
where the automatic flow is unavailable.⌉[

Connect tab (Manual): paste your API key directly for setups where the automatic
flow is unavailable.

[⌊Connect tab (Automatic): post authentication and green banner is displayed with
the words "Connected".⌉⌊Connect tab (Automatic): post authentication and green banner
is displayed with the words "Connected".⌉[

Connect tab (Automatic): post authentication and green banner is displayed with 
the words “Connected”.

[⌊Triggers tab: no-code trigger builder. Map WordPress action hooks to realtime 
events with channel and event name fields.⌉⌊Triggers tab: no-code trigger builder.
Map WordPress action hooks to realtime events with channel and event name fields
.⌉[

Triggers tab: no-code trigger builder. Map WordPress action hooks to realtime events
with channel and event name fields.

[⌊Explorer tab (disconnected): Event Log, Publish Test Event form, and Token Inspector
panels ready to connect.⌉⌊Explorer tab (disconnected): Event Log, Publish Test Event
form, and Token Inspector panels ready to connect.⌉[

Explorer tab (disconnected): Event Log, Publish Test Event form, and Token Inspector
panels ready to connect.

[⌊Explorer tab (connected): live Event Log showing an active WebSocket connection
and an incoming encrypted event, with a test event published successfully.⌉⌊Explorer
tab (connected): live Event Log showing an active WebSocket connection and an incoming
encrypted event, with a test event published successfully.⌉[

Explorer tab (connected): live Event Log showing an active WebSocket connection 
and an incoming encrypted event, with a test event published successfully.

## Installation

 1. Upload the `wordsocket` folder to `/wp-content/plugins/`, or install directly from
    the WordPress plugin directory.
 2. Activate the plugin through the “Plugins” menu in WordPress.
 3. Go to **WordSocket > Settings** and open the **Connect** tab.
 4. Choose a connection method:
 5.  * **Automatic (recommended):** Click **Connect with WPSignal**. You will be redirected
       to the WPSignal dashboard to authorize the connection. No API key entry required.
     * **Manual:** Switch to the Manual tab, paste your API key, and click **Save Settings**.
 6. The plugin registers with the server and saves credentials automatically.

To create an account, visit [wpsignal.io](https://wpsignal.io).

## FAQ

### What is WPSignal?

WPSignal is a realtime event delivery service for WordPress. It pushes events from
your site to connected browsers the moment they happen, without polling.

### Do I need a wpsignal.io account?

Yes. The plugin requires a WPSignal account to relay events. Create a free account
at wpsignal.io.

### What data is sent to the WPSignal server?

During registration: your site URL and name. During normal operation: event payloads,
AES-256-GCM encrypted on every site including plain HTTP ones, with a key derived
from your site’s WordPress salts that the server never receives, so it never sees
their contents. Channel names stay readable because the server routes on them. When
real-time collaboration is enabled, Yjs document updates (binary diffs of block 
editor content) are also relayed. These are **not** encrypted, so the server could
read them; it forwards them by channel and never parses or stores them. All data
is delivered in realtime and is not stored on the server. See our [Privacy Policy](https://wpsignal.io/privacy)
for full details.

### Are my event payloads private?

Event payloads are encrypted with AES-256-GCM before leaving WordPress. The encryption
key is derived from your WordPress salts and site key using HKDF-SHA256, and is 
never sent to the WPSignal server. This means the relay cannot read your message
content. Note: all logged-in users on the same site share the same derived key. 
Per-user message privacy is out of scope for the current version.

### Why is real-time collaboration unavailable on my site?

Real-time collaboration was removed from WordPress core before the 7.0 release and
currently ships with the Gutenberg plugin as an experiment. Install and activate
Gutenberg, then turn on Gutenberg > Experiments > “Enable real-time collaboration”.
The WordSocket Settings tab shows a “Gutenberg detected” badge when the feature 
is available, and the sync provider activates automatically once collaboration is
enabled. Post types without custom-fields support are excluded by Gutenberg itself.

### Does this work for logged-out visitors?

The built-in client script and the token endpoint (`/wp-json/wpsignal/v1/token`)
are limited to logged-in users by default. To open them to all visitors, return 
true from the `wpsignal_allow_client` filter:

    ```
    add_filter( 'wpsignal_allow_client', '__return_true' );
    ```

Tokens minted for visitors carry user ID 0 and are scoped to your site, so keep 
in mind that anyone can then subscribe to your site’s public channels and publish
over the WebSocket.

### What happens when I disconnect?

The plugin tells the WPSignal server to archive the site, then deletes the stored
credentials (site key, secrets, and the API key if you connected manually). Your
usage history stays on the server, and connecting the same site URL again restores
the site with fresh secrets. On a manual connection you will need to paste the API
key again. If the server cannot be reached, nothing is deleted and you can retry.

### Why was my connection refused?

The WPSignal dashboard refuses to authorize a site when your plan’s site limit is
reached (the message names the site to disconnect first), when your account email
is not yet verified, or when the account has been deactivated. The Connect tab shows
the exact reason returned by the server.

### How do extensions plug in?

An extension is a separate plugin built on WordSocket (WooCommerce, Live Blog, and
Chat are on the way). Its settings appear on the WordSocket settings page under 
the Extensions tab, which also lists what is available. Developers: register on `
wpsignal_loaded` with `WPS::instance()->extensions()->register()`, enqueue a settings
script on the `wordsocket_settings_enqueue` action with `wpsignal-settings` as a
dependency, and render `window.wordsocket.ExtensionPanel` from a plugin registered
with `wp.plugins.registerPlugin( slug, { scope: 'wordsocket', render } )`. An extension
with settings of its own adds a tab to this page with `window.wordsocket.registerTab({
name, title, render } )` (0.28).

### Can I make a channel private?

Yes. Reserve a namespace on `wpsignal_loaded`: `WPS::instance()->channels()->reserve('
orders', 'manage_woocommerce' )` (a capability, or a callable receiving the user
ID). The relay then refuses subscribe and publish frames on that namespace from 
anyone else. Once any namespace is reserved, tokens list channels explicitly instead
of allowing every channel of the site, so register each channel you subscribe to
through the `wpsignal_token_channels` filter. Payload encryption is site-wide and
is not a privacy boundary between users; the channel gate is.

### Why did events stop?

Each plan has a monthly message quota. When it is reached the server answers publishes
with “quota exceeded” and the plugin pauses publishing until the first day of the
next month (UTC). The Connect tab on the WordSocket settings page shows this, as
well as rejected credentials (disconnect and connect again) and an unreachable server,
and clears the warning as soon as the server answers again. There is no admin notice.

### What happens if WebSocket is unavailable?

The client falls back to SSE for receiving events. `window.WPS.subscribe()` and `
window.WPS.unsubscribe()` work on SSE connections: channel changes are tracked and
applied immediately via a lightweight SSE reconnect (50 ms debounce). Collaborative
editing needs WebSocket, because SSE is receive-only: if the editor opens while 
the client is on SSE, collaboration stays off for that editor until the page is 
reloaded with WebSocket available. You can also disable the collaboration provider
from the **WordSocket Settings tab** to use Gutenberg’s HTTP polling for all editors
instead.

### What does History keep?

Nothing until you switch it on (Settings tab, the Journeys card), which also adds
the Journeys tab. On, each visit is kept as a journey: the pages opened as ids with
the time on each, when the tab was hidden, how the visit ended, and the moments 
that fired, under a random browser id, linked to the account for the visits the 
visitor was logged in. Never a URL, a title or a search term. It stays in your own
database for the months you set (3 by default) and the privacy tools under Tools
can export and erase a person’s journeys.

### What are moments?

Moments are off until you switch them on (Settings tab, the Moments card). A moment
watches each visitor in their own browser and steps in when its conditions come 
true: show text or a synced pattern as a modal, banner, bar, toast or panel, and,
with “Flash the tab title” switched on, follow the visitor to a hidden tab (the 
title flashes and the favicon is badged until they return; the prompt is already
there when they do). A synced pattern a switched-on moment shows is served to any
visitor who asks for it. Conditions cover the page (its kind, a page id, a term 
id, a taxonomy archive), time on it while visible or while hidden, pages so far,
what was seen earlier, the time of day on the site’s clock or the visitor’s, the
day of the week, new or returning, logged in, and the device. Extensions add their
own, and ShopSocket adds the cart.

## Anmeldelser

![](https://secure.gravatar.com/avatar/67864bbea15bb7f8794e313034a308e4b03079251650ee74ae69084359129653?
s=60&d=retro&r=g)

### 󠀁[RTC works great!](https://wordpress.org/support/topic/rtc-no-longer-a-performance-concern/)󠁿

 [Anonymous User](https://profiles.wordpress.org/anonymized-23457997/) 13. april,
2026 1 svar

Works as described. Would like to see more plugins showcasing its ability, right
now this is great for WordPress developers, but not particularly useful for non-
technical folks.

 [ Læs 1 anmeldelse ](https://wordpress.org/support/plugin/wordsocket/reviews/)

## Bidragsydere & udviklere

“WordSocket” er open source-software. Følgende personer har bidraget til dette plugin.

Bidragsydere

 *   [ wpsignal ](https://profiles.wordpress.org/wpsignal/)
 *   [ Jared Rethman ](https://profiles.wordpress.org/jaredrethman/)

[Oversæt “WordSocket” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/wordsocket)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/wordsocket/), tjek [SVN repository](https://plugins.svn.wordpress.org/wordsocket/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/wordsocket/)
via [RSS](https://plugins.trac.wordpress.org/log/wordsocket/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 0.31.0

 * New: on WordPress 6.9 and later, WordSocket registers abilities (the Abilities
   API) so an AI agent or the MCP adapter can describe, list, save, switch and delete
   moments, publish an event and read the journeys the site keeps, with the same
   checks as the settings page
 * New: the Journeys tab downloads the last days of journeys as CSV or JSON, the
   JSON with a legend of every field, for a spreadsheet or an AI assistant without
   a connector
 * New for extensions: `WPS.config` is a read-only `{ version, isDebug, siteName,
   page: { kind, id } }` built for plugins, and `WPS.debug()` logs only while debug
   mode is on, so a plugin never reads WordSocket’s own inline config
 * New for extensions: `WPS.recovery` shows a prompt as a modal, banner, bar, toast
   or slide-in panel, flashes the tab title, badges the favicon or plays a chime,
   and `WPS.attention` says whether the visitor is on the page, in another window
   or on a hidden tab. Nothing shows until a moment or an extension asks
 * New: moments. Enable them on the Settings tab and the Moments tab appears. A 
   moment names conditions about the visitor (the page, including a post type’s 
   archive, a taxonomy or a date or author archive, a page or term id, time on the
   page while visible or while hidden, pages so far, what was seen earlier, the 
   time of day by the site’s clock or the visitor’s, the day of the week, new or
   returning, logged in, the device) and shows text or a synced pattern as a modal,
   banner, bar, toast or panel. “Flash the tab title” makes a moment that fires 
   on a hidden tab flash the title and badge the favicon until the visitor returns;
   the prompt opens when its action runs and is there on the return. Only enabled
   moments reach browsers, and nothing shows until one is on.
 * New for extensions: the visit report a tracked page sends now answers with whatever`
   wpsignal_visitor_visit_response` adds, read in the browser through `tracker.onVisit()`,
   so a plugin gets its own state in the request every page already makes instead
   of a second one. The `report` option may be a function, so a plugin reports only
   the visitors it would store.
 * New: beside the builder, “Where it fired” shows what a moment has done over the
   stored journeys: how often it showed, how many came back, dismissed it or clicked,
   and the orders it led to, each on the shopper’s journey; the Moments list says
   how often each fired.
 * New: Journeys. Enable Journeys on the Settings tab and WordSocket keeps each 
   visit on your own site: the pages a visitor opened and how long they stayed, 
   under a random browser id, linked to their account for the visits they were logged
   in, for the months you choose (3 by default). The tab then shows the last 28 
   days three ways: where journeys go (every visit as a path through your pages 
   to how it ended), how the weeks are going (visits day by day with the 7-day average,
   and every journey as a dot), and when visitors are here (the week by hour, on
   your clock), each with a table beside the chart. Moments are recorded on the 
   journey they fired in, so the Moments tab can replay a moment over your own visitors
   before you switch it on and show what it did afterwards. WordPress’s privacy 
   tools export and erase a visitor’s journeys; nothing leaves your site. Off by
   default; off, WordSocket keeps nothing of a visit, as before.
 * A tab that starts as a copy of another (a duplicated tab, a window a script opened)
   begins a journey of its own instead of carrying on the other tab’s
 * New for extensions: `WPS::journeys()` to put a reference and a value on a journey,
   end it with an outcome of their own (an order), credit the moments that led there,
   and have it drawn and named on the Journeys tab.
 * Fewer requests per page: moving between pages of your site no longer sends a 
   leave report, and a visitor’s browser keeps its connection token for the next
   page rather than asking for a new one on every page a cache serves. The token’s
   5-minute life can be changed with the `wpsignal_token_lifetime` filter, at the
   cost of a longer window before a logged-out user’s grants lapse. A visit is reported
   when something changed, not on every page: the first page, the tab going hidden,
   a page an extension names, and otherwise once a minute, so moving between pages
   costs your server nothing.
 * New for extensions: a firing report says how far into its step the moment fired,
   so a store can place it exactly on the journey, and the same route reports what
   the visitor did with the prompt: came back to the tab, dismissed it, or clicked
   something inside it.
 * Fixed: a crawler rendering a page (Bing, Google, link previews, page-speed tools)
   no longer opens a connection, counts as a visitor or triggers a moment.
 * Fixed: a link to an extension’s settings tab (`&tab=shopsocket`) opens that tab
   every time; it used to land on Connect more often than not.
 * New: Style prompts, a button on the Settings tab’s Moments card. Set the background,
   text and border colours, the corner radius, padding, font size, shadow, the close
   button and the motion for every prompt, and again per prompt type (modal, banner,
   bar, toast, panel), from your theme’s own colours, spacing and font sizes, with
   a preview beside the controls.
 * Fixed: a site’s script minifier (WP-Optimize and the like) could merge WordSocket’s
   page config, including a logged-in user’s token and nonce, into one cached file
   served to every visitor, after which no visitor could connect. The config is 
   now printed as a data block minifiers leave alone, and a REST nonce the server
   refuses is renewed on the spot.
 * Fixed: the trigger builder’s file now refuses direct access, the one error WordPress’s
   Plugin Check reported.

#### 0.30.0

 * New for extensions: `WPS.presence.track( channel )` follows a visitor’s journey
   across the site over relay presence (the pages they open, with times, and when
   the tab is hidden) and reports each visit and leave to WordPress, where the `
   wpsignal_visitor_visit` and `wpsignal_visitor_leave` actions let a plugin store
   it. WordSocket stores nothing itself
 * New: the `wpsignal_page_step` filter names the step a page is in a journey
 * Fixed: a visitor page served from a full-page cache could fail to refresh its
   connection token because it carried a stale REST nonce; the nonce is now printed
   for logged-in visitors only

#### 0.29.1

 * Fixed: “Connect with WPSignal” on the Connect tab led to “The link you followed
   has expired” since 0.29.0, because the authorization link’s nonce was HTML-escaped.
   Manual connection with an API key was unaffected

#### 0.29.0

 * New: developer mode. The Triggers and Explorer tabs are shown only when “Show
   the Triggers and Explorer tabs” is on (Settings tab, Developer tools), so site
   owners see Connect, Settings and Extensions only
 * Changed: the Settings tab shows its real-time collaboration section only while
   Gutenberg’s collaboration experiment is on
 * Fixed: the Settings tab could show “Loading real-time collaboration settings…”
   indefinitely
 * Changed: saves, connects and test publishes report as toasts at the bottom of
   the screen (red for an error) instead of notices in the page
 * New for extensions: `window.wordsocket.useTask` runs a request and reports it
   in the same toasts

#### 0.28.0

 * New: extensions can add their own tab to the WordSocket settings page (`window.
   wordsocket.registerTab()`); ShopSocket’s settings live there

#### 0.27.0

 * The browser client closes its connection when a page is left and opens a new 
   one when a page comes back from the browser’s back/forward cache, so a site’s
   connection count follows open tabs rather than pages visited
 * The client waits for a prerendered page to be shown before connecting
 * The Extensions tab offers ShopSocket, now on WordPress.org, with a button that
   opens the plugin installer in place

#### 0.26.0

 * Keeps collaboration working when Gutenberg stops exposing the `wp.sync` global.
   The provider now takes the editor’s Yjs instance from the `Y` option Gutenberg
   passes it, and still reads the global on older versions

#### 0.25.0

 * Events are now encrypted on plain HTTP sites too. The browser client decrypts
   with a bundled AES-256-GCM implementation where SubtleCrypto is unavailable, 
   so the relay reads ciphertext on every site, not only HTTPS ones
 * Fixed: the Explorer tab could not connect on a plain HTTP site. It chose `ws://`
   from the page’s scheme instead of the relay’s, so the TLS handshake failed (close
   1006)
 * Fixed: extension rows on the Plugins screen sorted to the top of the list instead
   of under WordSocket

#### 0.24.1

 * Hide future slot fill

#### 0.24.0

 * New: extensions are listed with WordSocket on the Plugins screen, renamed “WordSocket:”(
   the name that screen sorts by) and indented under it, so the family stays together;`
   wordsocket_nested_plugin_rows` filters the rows and an empty array switches it
   off

#### 0.23.0

 * New: `WPS.uuid()` returns a v4 UUID and works on plain HTTP sites too, where 
   browsers do not offer `crypto.randomUUID`
 * New: `WPS.visitorId()` is a stable per-browser id shared by every tab and extension
   on the site, for counting people rather than connections
 * New: `WPS.onChannel( channel, expected )` tells a handler whether an event arrived
   on the channel it claims, so events published elsewhere can be ignored

#### 0.22.0

 * New: `GET /wpsignal/v1/stats` reports how many browsers are connected to the 
   site right now and the plan’s connection limit (`WPS::instance()->publisher()-
   >stats()` in PHP), for extension dashboards
 * Security: connection tokens separate what a browser may read from what it may
   write. Once a plugin reserves a channel namespace, channels registered for reading
   are read-only unless a reservation’s publish grant (`reserve( $ns, $read, $write)`)
   or the `wpsignal_token_publish_prefixes` filter says otherwise
 * Fixed: a client that fell back to SSE while the relay was restarting stayed on
   SSE until the page reloaded; it now returns to WebSocket as soon as the stream
   opens, or at its next token refresh if the socket is blocked, so presence and
   publishing come back; and while on SSE every event now arrives, not just four
   fixed names
 * New: `WPS.setPresence()` for connection-scoped presence (who is here right now);
   subscribers receive `wps.presence` join/leave/sync events, `WPS.setPresence( 
   channel, null )` leaves at once, and a member drops the instant its connection
   closes
 * Fixed: installing an extension that reserves a channel namespace switched real-
   time collaboration off; the collaboration channels now stay open to users who
   can edit posts

#### 0.21.1

 * Changed: releases are published to WordPress.org by the GitHub release workflow
   after a successful build, instead of by hand

#### 0.21.0

 * New: Extensions tab on the settings page listing available extensions, plus an
   API for extension plugins to render their settings there (`window.wordsocket`,`
   wordsocket_settings_enqueue`, `WPS::instance()->extensions()`)
 * New: private channel namespaces: `WPS::instance()->channels()->reserve( $namespace,
   $capability )` gates a channel at the token level; once any namespace is reserved,
   tokens list channels explicitly
 * Changed: requires PHP 8.2
 * Fixed: with the relay unreachable, the SSE fallback let the browser reconnect
   every few seconds forever; after three misses the client’s own backoff takes 
   over
 * Fixed: the client is no longer loaded while the server rejects the site’s credentials(
   regenerated key, deleted site), so a dead connection does not retry until someone
   reconnects
 * Changed: the publish-failure admin notice added in 0.20.0 is gone; the Connect
   tab is the one place that reports a failing connection, and it clears as soon
   as the server answers again

#### 0.20.1

 * Fixed: a site whose credentials were revoked on the server (API key regenerated
   in the dashboard) re-minted tokens in a tight loop instead of stopping with authentication-
   failed; retry state now resets only once a connection has stayed open
 * Fixed: Disconnect was refused after the dashboard API key had been regenerated,
   leaving the site stuck with dead credentials; a rejected key now clears the local
   copy like a forgotten site

#### 0.20.0

 * Security: the token endpoint (/wpsignal/v1/token) now requires a logged-in user
   by default; sites that serve visitors opt in with the wpsignal_allow_client filter
 * New: publish failures are visible: an admin notice (Dashboard and WordSocket 
   screens) and the Connect tab report a reached monthly quota, rejected credentials,
   or an unreachable server
 * New: reconnects use exponential backoff with jitter (1s doubling to a 60s cap)
   instead of fixed delays, for the WebSocket, token fetch, and token refresh
 * New: the relay now closes refused sockets with application codes; a revoked token
   re-mints once and then reports authentication-failed in the editor instead of
   retrying forever
 * New: window.WPS.onStateChange() and window.WPS.state expose the connection state,
   last error, and next retry
 * Improved: real-time collaboration matches Gutenberg 23.9: the editor’s connection
   lost dialog appears after repeated failed reconnects, providers are not registered
   where core disables collaboration (site editor), and updates over 1 MiB report
   document-size-limit-exceeded
 * Improved: instructions and docs point to Gutenberg > Experiments > Enable real-
   time collaboration
 * Fixed: a failed manual connection left the Save button stuck in the busy state
 * Fixed: SSE fallback connections reported as connected after the stream died
 * Fixed: disconnect kept local credentials when the server refused, instead of 
   pretending it succeeded; the confirmation explains that history is kept
 * Fixed: the trigger Remove control is a real button, reachable by keyboard and
   screen readers
 * Fixed: debug logging respected the wrong flag and was never silent on production
   sites
 * Fixed: the settings endpoint no longer returns the full API key
 * Fixed: quota throttling and the last publish error are cleared on connect, disconnect,
   and uninstall
 * Improved: dashboard links follow the configured server URL; typos and untranslated
   strings

#### 0.19.0

 * New: real-time collaboration re-enabled via Gutenberg detection: the Yjs provider
   activates when wp_is_collaboration_enabled() reports RTC available and enabled,
   with a Gutenberg detected badge in the Settings tab
 * Fixed: collection-level sync providers (collaborative notes) crashed on the missing
   awareness instance, breaking notes realtime
 * Fixed: idle sessions stopped syncing: awareness keepalive renewals are now relayed(
   update event instead of change) and doc updates are no longer gated on peer presence
 * New: stale-socket watchdog force-reconnects zombie connections after sleep or
   background suspension, and a 30s state-vector resync heals dropped frames
 * Improved: sync status contract matches Gutenberg 23.7: typed connection error
   codes and a truthful auto-retry countdown in the editor disconnect dialog

#### 0.18.1

 * Security fixes

#### 0.18.0

 * Pluggable WS/SSE transports with window.WPS.status
 * Frictionless reconnection and persistent channel subscriptions
 * WPSignalEvent, client debug helpers, and isDebug config rename

#### 0.17.0

 * Prevent connection attempts when no auth

#### 0.16.0

 * Remove rtc functionality and added feedback form

#### 0.15.1

 * Fixed: skip Yjs update and awareness messages when no peers are connected

#### 0.15.0

 * Fixed: real-time sync on remote server — channel subscribed after SYNC_STEP_1
   sent

#### 0.14.0

 * Revamp admin ui, moved explorer to settings app

#### 0.13.2

 * remove self-hosted text

#### 0.13.1

 * Updated screenshots

#### 0.13.0

 * Exclude BETA.md from plugin build

#### 0.12.0

 * feat: skeleton preloader for app.feat: disable automatic authentication for non-
   ssl.fix: disable encryption when on non-ssl.

#### 0.9.0

 * Fix: non-ssl default to manual authentication

#### 0.8.0

 * Improved: Connections UI. Reduced connections from 2 to 1 on connections page.
 * Fix: option key change for RTC enabled.

#### 0.7.0

 * New: Automatic connection flow. Admins can connect via the WPSignal dashboard
   with a single click, without entering an API key. Uses a CSRF-protected OAuth-
   style code exchange.
 * New: Disconnect button in the Connection tab. Removes the site from the WPSignal
   server and clears all local credentials, with inline confirmation before proceeding.
 * New: Per-site JWT signing secrets. Each site’s connection tokens are now signed
   with a unique secret, isolating sites cryptographically and eliminating cross-
   site token forgery risk.
 * Improved: Connection tab redesigned with Automatic and Manual sub-tabs to clearly
   separate the two connection methods.
 * Improved: Disconnect works correctly regardless of how the site was connected:
   API key authentication for manual connections, publish-secret authentication 
   for automatic connections.

#### 0.6.0

 * New: Plugin renamed to “WordSocket” to comply with WordPress.org plugin directory
   guidelines.
 * Improved: Settings Connection tab revamped: server URL field removed, flow simplified
   to API Key entry and a single Connect action.
 * Improved: API key validated client-side before attempting connection.
 * Improved: Connection tab now surfaces WordPress real-time collaboration (RTC)
   availability and WP version compatibility, with clearer, more descriptive warnings
   when collaborative editing is unavailable.
 * Improved: PHP documentation blocks updated across all core classes for better
   tooling and doc parser support.
 * Developer: `.pot` language file added (`eventra-for-wpsignal.pot`).

#### 0.5.1

 * Fixed: WordPress 7.0 Beta 2 compatibility for the Yjs sync provider. Collection-
   level providers (e.g. collaborative notes) receive a null `objectId`; the provider
   now maps this to a shared `"collection"` channel suffix so all peers join the
   same channel.
 * Fixed: `ProviderCreatorOptions` type updated to accept `objectId: string | number
   | null`, matching the Beta 2 provider creator API.

#### 0.5.0

 * New: `wpsignal_token_channels` filter: plugins can append channels to the initial
   auto-subscribe list in the minted JWT.
 * New: `wpsignal_token_channel_prefixes` filter: plugins can add channel-prefix
   permissions to the JWT `allowed_channel_prefixes` claim, enabling server-enforced
   access to custom channel namespaces.
 * Improved: `window.WPS.subscribe()` and `window.WPS.unsubscribe()` now work on
   SSE connections. Channel changes are tracked in a persistent set and applied 
   immediately via a debounced SSE reconnect, so plugins that call these methods
   do not need to know the current transport.
 * Developer: `forceSSE` config flag available for testing the SSE transport without
   browser tooling.

#### 0.4.0

 * New: AES-256-GCM encrypted event payloads. The WPSignal relay receives and forwards
   ciphertext only: plaintext message content never leaves WordPress.
 * New: Encryption key derived from WordPress salts and site key via HKDF-SHA256.
   Key is never transmitted to the WPSignal server.
 * New: `wpsignal_encryption_seed` filter for plugins and themes to supply custom
   key material.
 * New: `SubtleCrypto` decryption in the browser client: events are dispatched only
   after successful decryption.

#### 0.3.0

 * New: Real-time collaborative editing in the block editor (WordPress 7.0+) via
   Yjs WebSocket sync provider.
 * New: `publishBinary()` and `onBinaryMessage()` methods on `window.WPS` for binary
   WebSocket frames.
 * New: `transport` property on `window.WPS` exposes the current connection type(`'
   ws'`, `'sse'`, or `null`).
 * New: Admin toggle in Settings to enable or disable the real-time collaboration
   provider independently.
 * Improved: Collaboration provider emits `disconnected` status when WebSocket is
   unavailable, allowing WordPress to show its “not synced” indicator.

#### 0.2.0

 * New: Custom trigger builder: register triggers from the admin UI without code.
 * New: Settings page rebuilt as a React app with Connection and Triggers tabs.
 * New: Explorer (Kitchen Sink) admin page with 5 interactive panels.
 * New: Public JavaScript API (`window.WPS`): subscribe, publish, event listeners.
 * New: `WPS::trigger()` fluent builder and `WPS::publish()` facade methods.
 * New: Support for self-hosted servers (configurable server URL).
 * Improved: OOP architecture with PSR-4 autoloading under the `WPSignal` namespace.
 * Improved: TypeScript source with `@wordpress/scripts` build pipeline.

#### 0.1.0

 * Initial release.

## Meta

 *  Version **0.31.0**
 *  Senest opdateret **1 uge siden**
 *  Aktive installationer **Færre end 10**
 *  WordPress-version ** 6.7 eller højere **
 *  Testet op til **7.1.4**
 *  PHP-version ** 8.2 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/wordsocket/)
 * Tags
 * [events](https://da.wordpress.org/plugins/tags/events/)[realtime](https://da.wordpress.org/plugins/tags/realtime/)
   [Websocket](https://da.wordpress.org/plugins/tags/websocket/)[wordsocket](https://da.wordpress.org/plugins/tags/wordsocket/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/wordsocket/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  1 5-stjernet anmeldelse     ](https://wordpress.org/support/plugin/wordsocket/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/wordsocket/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/wordsocket/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/wordsocket/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/wordsocket/reviews/?filter=1)

[Din anmeldelse](https://wordpress.org/support/plugin/wordsocket/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/wordsocket/reviews/)

## Bidragsydere

 *   [ wpsignal ](https://profiles.wordpress.org/wpsignal/)
 *   [ Jared Rethman ](https://profiles.wordpress.org/jaredrethman/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/wordsocket/)