---
title: Changelog
url: https://lhero.org/portfolio/lh-site-privacy/changelog/
date: 2026-10-15T12:19:35+11:00
modified: 2026-10-15T12:32:58+11:00
type: lh-portfolio-doc
---

- **Part of:** [LH Site Privacy](https://lhero.org/portfolio/lh-site-privacy/)

- **0.5.1:** On a private site, a .md address that has no Markdown version now gets the same 403 sign-in notice as every other address, instead of a Markdown 404. Visitors without access can no longer tell from the response whether a page exists.
- **0.5.0:** On a private site, a visitor without access who requests a page at its .md address (served by LH AI Legibility) now gets a short Markdown 403 instead of the login redirect, the password form or the HTML no-access page, so agents get a reply they can read. A logged-out visitor is told the site is private and given a login link back to the page; on a password-protected site they are told to open it in a browser to enter the password. Access is unchanged: the same visitors are refused. Needs LH Content Converter 2.8.0; with an older version the HTML responses are sent as before. (lh-tasks #155826)
- **0.4.1:** Shorter MCP ability description. The opening sentence of get-privacy now says what the ability returns in under 70 characters, because discover-abilities lists only that sentence. The list of fields follows unchanged in the next sentence. Wording only: no change to behaviour, inputs or outputs.
- **0.4.0:** Mastodon apps can now sign in to private sites when Enable Mastodon Apps is active. The gate refused the requests a Mastodon client makes before it has logged in, so no app could connect to a private site. Instance and nodeinfo discovery, app registration, Enable Mastodon Apps' own diagnostic check and token revocation are now let through. These are the same routes logged-out visitors can reach on public sites, and none return posts or members. Signing in still needs someone with access to the site: the authorize page sends visitors to log in first and refuses anyone without access. Timelines, accounts and posts stay private. The list of routes can be changed with the new lh\_site\_privacy\_return\_mastodon\_signin\_routes filter.
- **0.3.4:** get-privacy and set-privacy now reach other sites through LH MCP Adapter Extensions instead of their own site\_id handling. site\_id works as before where that plugin is active, but the target site must now be live and you must belong to it (super admins can reach any site), and manage\_options is checked on that site. Archived, spam and deleted sites can no longer be read or changed from another site. Setting the members level from another site is still refused.
- **0.3.3:** Logged-in users with access are no longer refused on a private site's REST API when a request carries no REST nonce. WordPress treats such a request as logged out, which every navigator.sendBeacon() call is (the LH Log User Data pixel, for example), so the gate answered it with a 401. The gate now decides who may see the site from the logged-in cookie as well, while the request itself still runs as the user WordPress decided, so endpoints gain no access they would not have on a public site.
- **0.3.2:** Fix a redirect loop on private sites whose login page is on the front end. Plugins such as LH Membership move the login, registration and lost-password forms onto front-end pages by filtering login\_url, register\_url and lostpassword\_url; the gate then protected the login page itself, so visitors who were not logged in were redirected to it forever and the site appeared to hang. The pages those three URLs point to are now always reachable, so visitors land on the login form with the explanation that the site is private. Other pages can be let through with the new lh\_site\_privacy\_is\_exempt\_front\_end\_request filter.
- **0.3.1:** Sites hidden from search engines are now flagged to administrators too, not just private sites. Any site that is not fully public shows a marker in the admin bar on every screen, reading Hidden from search engines for a site set to discourage search engines and Private: followed by the level for a private site, and a notice on the Dashboard and Settings &gt; Reading saying so.
- **0.3.0:** Every site can now use every privacy level: the network setting for which private levels sites may choose has been removed, along with the lh\_site\_privacy\_available\_levels filter and the lh\_site\_privacy\_return\_available\_levels\_option\_name filter. The members level still appears only where a membership plugin answers who is a member. Network Admin &gt; Settings keeps one privacy setting, the level for new sites.
- **0.2.2:** The password access cookie now falls back to the root path whenever WordPress has not defined COOKIEPATH, rather than relying on the constant always being defined. No change in behaviour on a normal WordPress request.
- **0.2.1:** Coding standards fixes. The password form and the no-access page now pass their HTML through wp\_kses with a fixed list of allowed tags before it is shown, so markup added by the lh\_site\_privacy\_password\_form and lh\_site\_privacy\_no\_access\_message filters is limited to what those pages need. The network setting for the privacy of new sites is sanitised before it is saved. admin-ajax and admin-post requests no longer read the action name: a plugin whose handler must work for visitors on a private site now answers the new lh\_site\_privacy\_is\_exempt\_admin\_request filter for its own action, replacing lh\_site\_privacy\_return\_exempt\_admin\_actions.
- **0.2.0:** First working release. LH Site Privacy makes a site private by adding five levels to Settings &gt; Reading, stored in core's blog\_public option alongside core's public and hidden-from-search-engines settings: logged-in users (anyone with an account on the network), site users (anyone with a role on the site), administrators only, a shared site password (plus site users), and true members only, which is offered when a membership plugin answers the lh\_site\_privacy\_user\_is\_member filter. Super admins and site administrators can always visit. Visitors who are not logged in are sent to the login form, which explains why; at the password level they see a password form instead. Logged-in users without access see a no-access page with a link to log in as someone else. The gate covers the front end (pages, feeds, embeds, Markdown and llms.txt), the REST API (with OAuth discovery and token endpoints left reachable so AI clients can still connect), and admin-ajax and admin-post requests; uploaded files are not covered. Private sites are marked noindex, disallow everything in robots.txt, have core sitemaps turned off and are never page cached, and LiteSpeed Cache is purged when a level changes. The site password is stored hashed; entering it sets a signed cookie for that site (never a URL token), attempts are rate limited, and changing the password signs out everyone who entered the old one. On a network, Network Admin &gt; Settings chooses which private levels sites may use and the level for new sites, and Network Admin &gt; Sites gains a Privacy column. Administrators see a notice on the Dashboard and Reading screens and a Private marker in the admin bar. Two MCP abilities, lh-site-privacy/get-privacy and lh-site-privacy/set-privacy, read and change a site's level and password, for the current site or another by site\_id, and require manage\_options on that site. Existing sites already set to an extra privacy level by LH Multisite Privacy Options keep it and are enforced as soon as this plugin is active. This replaces LH Multisite Privacy Options, LH Private Site and LH Extra Multisite Privacy.
- **0.1.0:** Initial scaffold.