=== Page Asset Manager ===
Contributors: chintan
Tags: css, javascript, assets, performance, enqueue
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 8.0
Stable tag: 2.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Reorder or disable enqueued CSS and JavaScript for individual posts, pages, and public custom post types.

== Description ==

Page Asset Manager provides a secure editor panel for discovering and managing stylesheets and scripts enqueued on a singular WordPress item.

= Features =

* Drag-and-drop CSS and JavaScript ordering.
* Disable individual assets per item.
* Public post type support.
* Secure, explicit front-end asset discovery.
* Search by asset handle or URL.
* Asset URLs and dependency information.
* Reset to WordPress defaults.
* Copy settings from another item.
* Backward-compatible version 1 data migration.

WordPress resolves dependencies after the requested order is applied, preventing invalid dependency order.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`.
2. Activate Page Asset Manager.
3. Edit a supported post, page, or custom post type.
4. Open "Page CSS & JavaScript" and select "Refresh assets".
5. Reorder or disable assets, then save.

== Upgrade Notice ==

= 2.0.0 =
Security and compatibility rewrite. Existing ordering data is imported automatically.

== Changelog ==

= 2.0.0 =
* Added modern WordPress and PHP 8 compatibility.
* Added secure AJAX operations with nonce and capability checks.
* Replaced visitor-side metadata writes with explicit asset discovery.
* Preserved WordPress core script-rendering hooks.
* Added post types, search, disable, reset, details, and copy settings.
* Scoped admin assets to supported editor screens.
* Preserved version 1 ordering metadata.
