=== One Click Delete Page and Post ===
Contributors: magnathorax
Donate link: https://boosty.to/magnathorax/donate
Tags: admin-bar, delete, post, page, frontend
Requires at least: 5.5
Tested up to: 6.8
Stable tag: 1.1.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds a "Delete" item to the frontend admin bar next to the Edit link.

== Description ==

One Click Delete Page and Post is a lightweight, secure plugin that places a convenient "Delete" action in the frontend admin bar for users who have the `delete_post` capability. By default a confirmation dialog is shown; the plugin moves the current page or post to Trash when confirmed.

A settings page (Settings → One Click Delete Page and Post) provides a single toggle to enable or disable the confirmation dialog.

== Installation ==

1. Upload the `oneclick-delete-page-and-post` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin from the **Plugins** screen in WordPress admin.
3. (Optional) Go to **Settings → One Click Delete Page and Post** to toggle the confirmation dialog.

== Screenshots ==
1. Delete item in the frontend admin bar next to Edit.
2. Settings page with the confirmation toggle.

== Changelog ==

= 1.1.1 (2025-09-11) =
* Minor bugs have been fixed.

= 1.1.0 (2025-09-10) =
* Added settings page with a toggle to enable/disable the delete confirmation dialog.

= 1.0.0 (2025-08-26) =
* Initial release — adds a "Delete" item to the frontend admin bar which moves the current page/post to Trash for users with appropriate capability.
