=== DevnDespro SafeDelete ===
Contributors: devndespro
Tags: delete, pages, broken links, content management, safety
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Review direct page references before moving WordPress pages to Trash.

== Description ==

DevnDespro SafeDelete helps you understand which content may be affected before deleting a WordPress page.

When you move a page to Trash, SafeDelete checks other posts and pages for direct links to that page. It shows the results in a review window so you can make a more informed decision.

Features include:

* Review references before moving a page to Trash.
* Check multiple selected pages before bulk deletion.
* See which posts and pages contain direct links to the selected page.
* View risk levels based on the number of references found.
* Open referencing content for review.
* Cancel deletion without changing your content.

SafeDelete currently checks direct permalink matches in WordPress post content. It does not detect every type of link or dependency.

== Installation ==

1. Upload the plugin ZIP through Plugins > Add New Plugin > Upload Plugin.
2. Activate DevnDespro SafeDelete.
3. Open Pages > All Pages.
4. Select Trash on a page, or use the bulk Move to Trash action.
5. Review the results before confirming.

== Frequently Asked Questions ==

= Does SafeDelete delete pages automatically? =

No. SafeDelete displays a review window before the normal WordPress Trash action continues.

= Does it check bulk deletion? =

Yes. You can review selected pages before moving them to Trash.

= Does it find every link to a page? =

No. The current version checks direct permalink matches in WordPress post and page content.

= Can I cancel the deletion? =

Yes. You can close the review window without moving the page to Trash.

== Changelog ==

= 1.0.0 =
* Added single-page and bulk deletion review.
* Added direct reference detection and risk indicators.
* Added keyboard support for review windows.
* Improved the review interface.