=== ClientEdits ===
Contributors: pluginsshop
Tags: client feedback, website feedback, content review, content approval, wording suggestions
Requires at least: 6.7
Tested up to: 7.1
Stable tag: 1.1.1
Requires PHP: 8.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Collect client feedback on WordPress page wording. Share a private review link, inspect each proposal, and approve changes one at a time.

== Description ==

ClientEdits is a free WordPress plugin for website content review. An owner shares a private link. A reviewer points to wording, writes a proposal, and sends it. The page stays unchanged until an editor approves that proposal. See [ClientEdits on Plugins.shop](https://plugins.shop/clientedits/) for product details and screenshots.

Reviewers can see a script-free public page preview when their site permits it. The preview may load assets included by the site's theme or other plugins. They can always use the readable text view and passage list. Wording from the public page preview is selectable only when ClientEdits can map it to one unambiguous saved passage; otherwise the reviewer uses the readable view. Private or password-protected pages are not eligible.

Direct updates are limited to ordinary Gutenberg paragraph and heading text. Bold, italic, and links already in that text are kept. Other content can receive a comment. Resolving a comment does not change the page.

Everything runs on your WordPress site. ClientEdits does not call an external service, and it does not add a paid tier.

= What a reviewer can do =

* Open a private review link without a WordPress account.
* Use a public page preview, readable article, or full passage list to find wording.
* Suggest a change, preview it locally, and keep a draft on the current device for up to 30 days.
* Send a suggestion, amend it, or withdraw it while it is pending. Browse older suggestions by page.
* Finish their pass. That does not publish anything.

= What an owner can do =

* Search published posts and pages by title, path, or ID, then start a review on pages they can edit.
* Distinguish duplicate page titles by URL and ID, and invite more than one reviewer with separate links.
* See which passages can be updated and which are comment only.
* Approve one suggestion at a time. The button says that this updates the live page.
* Approve a later suggestion on a different passage when ClientEdits can prove the earlier saves were its own.
* Decline, ask a question, or open the page in the editor.
* Undo one verified update only while the saved page still matches that update.
* Export the review as JSON or HTML.
* Close the review. Guest links stop working. Records stay until retention.

The plugin also offers a separate, administrator-opened "More tools" screen for the publisher's other WordPress products. The client-facing review page contains no product promotions.

== Installation ==

1. Upload the `clientedits` folder to `/wp-content/plugins/`, or install the zip from Plugins.
2. Activate ClientEdits.
3. Open ClientEdits in the admin menu and start a review.

Approved wording is ordinary block content. Deactivating or deleting the plugin does not remove it. Deleting review records is optional under Settings, and it is off until an administrator turns it on.

== Screenshots ==

1. Reviewers choose exact wording from a public page preview or the searchable passage list.
2. A reviewer compares a proposed wording change with the current text before sending it. The live page stays unchanged.
3. Owners compare the original and proposed text, then approve, ask a question, or decline.
4. Reviewers can track, update, withdraw, and discuss their pending suggestions.
5. The owner decision inbox remains usable on a narrow screen.

== Frequently Asked Questions ==

= Does a suggestion change the live page? =

No. The reviewer sees “Suggestion sent. The live page has not changed.” The page changes only after an editor approves that version and ClientEdits verifies the saved result.

= Who can use a review link? =

Anyone who has the link, until it expires, is revoked, or the review is closed. A display name is a label, not a verified identity.

= What content can be updated directly? =

Saved `core/paragraph` and `core/heading` blocks, including those inside groups, columns, and quotes. The formatting adapter can replace one text run and keep existing `strong`, `em`, `b`, `i`, `a`, and `br` tags, including link addresses. Lists, buttons, shortcodes, classic content, synced patterns, navigation, and dynamic blocks are comment only.

= Can I undo? =

Yes, when the whole saved page still matches the verified update. After a later edit, ClientEdits shows the before and after wording and does not restore the page.

= Does ClientEdits send email? =

The site sends a verification email when a reviewer enters an address. The address is saved on the review link before confirmation; reply alerts start only after that reviewer confirms it. An optional daily count of waiting suggestions goes to the site's WordPress administration email. Verification requests are limited per review link and recipient. Email notices do not include the suggested wording. Mail uses the site's existing WordPress mail.

= What happens if a page changes during review? =

ClientEdits compares the saved passage and page history before a direct update. If it cannot establish that the proposal still applies, it stops and asks the editor to compare the current wording. Core editor saves loaded before a ClientEdits update receive a stale-save warning.

= What personal data is stored? =

Review links may contain a reviewer label and an optional email address with its verification state. The address is stored when verification is requested, including before confirmation. Suggestions, replies, notification records, and undo/audit snapshots stay in your WordPress database. WordPress's email-based privacy tools find linked suggestions and replies when that address is stored on the review link; notification rows are also matched by recipient address. They cannot locate an anonymous reviewer by email. An owner can export the whole review, then close it so eligible records enter retention; pending suggestions and uncertain saves are kept for review. Erasure can retain approved page wording, records with audit operations, and owner-authored replies. Review those separately if they contain personal data.

== Changelog ==

= 1.1.1 =
* Added the dedicated ClientEdits homepage and aligned plugin and publisher metadata.
* Tightened REST input validation and prepared custom-table identifiers without changing the review workflow.
* Removed a redundant text-domain loader; WordPress.org loads translations for hosted plugins.

= 1.1.0 =
* Added a searchable page picker, public page preview with readable fallback, full-text passage selection, reviewer drafts, and history paging.
* Added editor-save conflict guards, clearer mail settings, expanded privacy export and erasure, and an administrator-opened tools catalogue.
* Verified exact-version approval across concurrent reviewer changes, limited verification mail, and clarified closed-link messaging. Improved keyboard and translated reviewer controls.

= 1.0.0 =
* Initial codebase.

== Upgrade Notice ==

= 1.1.1 =
Plugin and publisher links now point to Plugins.shop. Input checks are stricter; existing review records are kept during upgrade.

= 1.1.0 =
Review and approve wording suggestions on individual pages. Existing review records are kept during upgrade.
