Repository navigation
Add utility modules, live link audits, and backend improvements for 1.7.0 - #53
Merged
Merged
Conversation
wpgaurav
marked this pull request as ready for review
October 2, 2026 07:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds three optional modules for 1.7.0: Content Tools duplicates native posts/pages into drafts, Link Health checks stored public-content links, and Site Activity keeps a bounded private history. All three start disabled; weekly link scans are separately opt-in.
Link Health now gives administrators live feedback and continuous bounded checking while its workspace is open. The page shows waiting/checking/stopping/completed states, a progress bar, completed posts, checked links, and refreshed results. Stop finishes the current worker safely; Resume preserves the cursor. Each results page contains up to 50 links across sources, with one pager and a full-width table. This resolves slow-looking external-cron scans, static status text, sparse per-source result pages, and rejected stop requests during active batches.
The live endpoint requires administrator access and a valid nonce. Run identifiers prevent stale browser requests from acting on another scan; worker leases and client request ordering prevent overlaps and late responses overriding Stop. Public-source validation, SSRF guards, confirmed GET 404/410 classification, inconclusive transport errors, cached checks, native forms, and CSV export remain in place. A small result-count index supports pagination and follows opt-in uninstall cleanup.
The backend also has consistent desktop/phone controls, local Tabler icons, a color-adaptive admin mark, complete breadcrumbs and back buttons, and responsive module-guidance sidebars. Listing assets include the restrained Apple-inspired icon/bento banner and real backend screenshots. readme.txt now describes 1.7.0, live scan behavior, 50-result pagination, actual storage, and feature limits.
Validation:
Link Health covers stored anchor links in published public posts/pages, up to 1,000 unique links per post. Dynamic output and password-protected content are excluded. Hidden/closed workspaces rely on the site's background scheduler. The existing Fonts/Components/SVG editor-iframe visual gate is tracked for a later public release; this PR is ready to merge.
Verification and recovery: docs/v1.7.0-verification.md, docs/ui-polish-verification.md, docs/ui-sidebar-verification.md, docs/link-health-live-verification.md, and docs/branding-assets.md.