=== WP DevContext ===
Contributors: wpdevcontext
Tags: developer-tools, debugging, export, ai, environment
Requires at least: 6.2
Requires PHP: 7.4
Stable tag: 0.4.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Inspect selected WordPress environment details and download a Markdown or JSON context report for developer workflows.

== Description ==

WP DevContext is a read-only environment inspector for WordPress developers. Version 0.4.0 collects PHP/hosting details, WordPress core/site settings, plugins, themes, registered post types, taxonomies, and ACF field definitions. It adds task presets, live selection preview, module summaries, and privacy filtering. Reports are generated for direct download and are not saved on the server.

== Installation ==

1. Upload the wp-devcontext folder to the /wp-content/plugins/ directory or upload the ZIP via Plugins > Add New Plugin > Upload Plugin.
2. Activate WP DevContext.
3. Go to Tools > WP DevContext.
4. Apply a preset or select individual modules, choose an export format, then download the report.

== Privacy ==

This plugin does not send report data to an external service. It excludes credentials and does not export wp-config.php. Site URLs are sanitized to remove query strings and fragments. A short server-software identifier may be exported when available; absolute filesystem paths and custom WP_DEBUG_LOG paths are not exported. As with any diagnostic report, review the downloaded file before sharing it.

== Scope ==

Milestones A–D include environment, WordPress core/site, plugins, themes, post types, taxonomies, ACF field definitions, selection presets, module summaries, and privacy regression checks. ACF saved values and default field values are excluded.

== Changelog ==

= 0.4.0 =
* Add Environment only, Theme development, Plugin development, ACF only, and Full technical context presets.
* Add Select all, Clear all, and live selection preview.
* Add module status/count summaries and warnings for unavailable or empty modules.
* Add defense-in-depth filtering for sensitive keys and URL query strings/fragments.


= 0.3.0 =
* Add independently selectable ACF field groups and field definitions in JSON and Markdown.
* Include location rules, nested subfields/layouts, conditional logic, and field configuration while excluding saved/default values.
* Gracefully report when ACF APIs are unavailable.



= 0.2.0 =
* Add themes, registered post types, and taxonomy export modules.
* Warn when PHP post_max_size is below upload_max_filesize.

= 0.1.1 =
* Improve database vendor detection, hosting metadata, debug diagnostics, structured warnings, and inactive plugin counts.

= 0.1.0 =
* Initial foundation: admin screen, capability and nonce checks, environment/core/plugin collectors, JSON and Markdown downloads.
