=== Jeet Sanwal Scheduled Content Review ===
Contributors: jeetsanwal
Tags: content review, editorial workflow, review date, evergreen content
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.1.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Private review dates, eligible staff owners and deliberate next-review records for posts/pages. Free and ad-free.

Created by Jeet Sanwal — https://jeetsanwal.in

== Description ==

Evergreen content occasionally needs a little less evergreen and a little more checking. Give each saved WordPress post or page a private next-review date, an existing eligible staff owner ID and private notes.

Saving a schedule can set a valid date, leave the date blank or use owner 0 for unassigned. The assigned existing staff user must have native edit_posts or edit_pages and effective edit_post access to this particular object. Owner access is rechecked when the record state is displayed; deleting or restricting the owner makes it Missing.

Missing date or eligible owner takes precedence over due/current state. With complete details, today or an earlier date is Review due; a future date is Scheduled. Dates use the WordPress site timezone. Mark reviewed records the acting administrator and UTC time and requires an eligible owner and a next date after today. Editing the schedule alone does not invent a review stamp. The latest review stamp is retained; no review-history log is kept.

Use the Assigned staff ID report filter with all, me, 0 for unassigned, or an exact existing staff ID. It compares the stored assignment only after content-edit permission is checked, inside the current candidate batch. It does not list users, grant access or provide a full-site assignment count.

The plugin sends no emails or reminders and runs no cron job. It does not review, publish, unpublish or change content, assign permissions or force a workflow. Assigned editors are planning owners; this does not grant them access to the private administrator tool. Native posts/pages only; custom types, revisions, trash and auto-drafts are excluded.

Only users with manage_options and edit_post access to the individual post/page can use this plugin's private records. Standard administrators usually qualify; ordinary editors do not. Custom-role and multisite restrictions still apply. Native editor panels are read-only links to dedicated Tools forms, so editor Update/Publish controls are unchanged.

Reports read at most 25 unfiltered post/page candidate IDs plus one lookahead, newest ID first. Individual edit permission is checked before reading private metadata or filtering titles/state. Every title and state filter applies inside the current candidate batch only. There is no full-catalog matching total. Next follows the unfiltered candidate list, so continue even when a filtered batch is empty. Live insertions/deletions can shift offset paging. At most 100,000 batches can be addressed.

Plugin saves require POST, an object-specific nonce, current capabilities, a current opened record token and an atomic SQL ownership claim. Latest post and metadata caches are refreshed after the claim. Failed writes are checked by reading the stored record back. These checks serialize this plugin's own saves; other tools editing metadata directly are outside that protocol. Interrupted ownership claims can be reclaimed after two minutes.

Protected metadata is not registered for public REST. A response filter also removes this plugin's record key from normal post/page REST responses if another integration adds it. Database backups, exports, trusted administrative tools and other plugins can still contain the records. Do not enter secrets. Failed form input may remain in a private per-user database transient for up to two minutes for comparison; a failed confirmation can still mean a record was stored or changed, so inspect the latest displayed record before retrying.

With optional installation reports off, records remain after uninstall so reinstalling can recover them. No frontend assets, badges or credits are added. No external requests, notifications, telemetry, signup, advertisements, paid tier or WooCommerce dependency. Self-hosted updates use manual ZIP replacement.

== Installation ==

1. Open Tools > Content reviews as an administrator.
2. Open a post/page record and enter its next review date, an eligible existing staff user ID and optional private notes. Your own user ID is shown; users with list_users access can follow the native Users screen to look up staff IDs.
3. Choose Save review schedule to plan a review. Date blank or owner 0 leaves the record incomplete.
4. When you have actually reviewed the content, choose a future next date and Mark reviewed and set next date. Use Due, Scheduled and Missing filters within each 25-candidate batch.

== Frequently Asked Questions ==

= Will it email the owner or run a scheduled task? =

No. Dates and owners are planning records in this screen. There are no emails, reminders, background scans or cron jobs.

= What makes a record Due, Scheduled or Missing? =

Missing date or an ineligible owner takes precedence. With both present, today or earlier is Due and a future date is Scheduled, in the WordPress site timezone.

= Who can be assigned as owner? =

An existing staff user with edit_posts or edit_pages and effective edit_post access to this specific post/page. Assignment grants no access or permissions. If their access is removed, the record becomes Missing.

= What does Mark reviewed do? =

It stores the acting administrator ID and UTC time, retains the entered notes and sets the next future date. A future date and eligible owner are required. Saving a schedule alone preserves the previous manual-review stamp; no history log is stored.

= Why can a filtered batch be empty while Next is available? =

Title and private-state filters apply only after permission checks inside the current 25-candidate batch. Continue to later unfiltered batches; no full-catalog private match count is exposed.

= Are private records removed on uninstall? =

No. They remain in protected post metadata for recovery after reinstall. Use a trusted database tool if complete removal is required; no content is deleted.

= Are these tools free on client websites? =

With optional installation reports off, yes. GPL-2.0-or-later with no signup, ads, telemetry, paid tier or public credits. Install updates manually with the self-hosted ZIP from https://jeetsanwal.in/tools/jeet-scheduled-content-review.

== Privacy ==

With optional installation reports off, all records stay in the WordPress database. Protected metadata, lock claims and temporary failed-input flashes can be included in backups or site-level exports. Other plugins and administrators can access the database. No external service or frontend record output is bundled.

== Updating an existing installation ==

Download this plugin's individual ZIP from https://jeetsanwal.in/tools/jeet-scheduled-content-review . Make a normal site backup and try the update on staging first. In WordPress, use Plugins > Add New > Upload Plugin and choose Replace current with uploaded when WordPress detects the existing installation. Keep the same plugin folder; do not uninstall/delete the plugin as an update step. Confirm the displayed version is 1.1.1, then reopen the plugin's normal screen and check one representative workflow described above. Clear relevant page caches if public output remains stale.

Updates are installed manually; a matching Update URI prevents unrelated directory plugins from replacing this package, but does not provide an update service. If replacement fails, check hosting upload limits and write permissions before retrying. To roll back, replace the plugin files with your saved previous ZIP; file replacement alone does not restore database records or deleted files. Use your site backup when data restoration is needed. Read this plugin's retention notes before deliberately uninstalling it.

Author and support: Jeet Sanwal — https://jeetsanwal.in/contact

== Optional installation reports ==

Installation reports are optional and OFF by default. Installing, activating, or using this product does not submit a report. Administrators can choose consent separately for each product under Settings > Jeet Sanwal Reports. All product features remain available with reporting off.

After explicit consent, the client sends the website URL, a random installation ID, product/WordPress/PHP versions, reported state, and an observed activation timestamp when available to https://jeetsanwal.in/api/v1/plugin-reports. While that product is active and consent remains enabled, a daily WordPress cron check-in can update its last-known status. WP-Cron depends on site traffic and hosting; it is not a continuous monitor.

Pause stops future reports without deleting records already shared. Forget requests deletion of the remote installation entry and history, retrying deletion if delivery fails. Records automatically expire after 90 days without a check-in. The plugin does not send page content, files, database exports, administrator email addresses, or raw IP addresses. Server rate limiting keeps a keyed IP hash for up to 24 hours; ordinary hosting access logs are governed separately by the privacy policy.

Review the fields and consent before enabling reporting. Read https://jeetsanwal.in/privacy for the reporting endpoint, retention, and deletion details. Reporting does not authorize remote control, automatic updates, or access to the website.

== Changelog ==

= 1.1.1 =
* Updated the product display name to Jeet Sanwal Scheduled Content Review and retained the Jeet Sanwal author website.
* Added voluntary installation/status reports with per-product consent OFF by default, pause/forget controls, and documented fields and retention.
* Preserved existing identifiers, stored data, permissions, and earlier release history.


= 1.1.0 =
* Added assigned-owner filters for all, current user, unassigned and an exact staff ID within the permitted candidate batch.

= 1.0.2 =
* Standardized interface wording to US English without changing stored field keys or permissions.
* Added a complete US English installation and update guide; kept documented permissions, limits and manual rollback steps.


= 1.0.1 =
* Clarified the manual replacement, verification and rollback workflow, with direct author support details.
* Rechecked package metadata, source/archive consistency and existing isolated regressions.


= 1.0.0 =

* First release with private capability-checked records, bounded batch reports, read-only editor panels and dedicated stale-protected forms.

== Upgrade Notice ==

= 1.0.0 =

First standalone release. Back up your site before installation or manual ZIP replacement.
