=== MevvCode ===
Contributors: mevvsoft
Tags: code snippets, php, javascript, css, safe mode
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Run PHP, JavaScript, CSS, HTML and text snippets from a guarded, query-free file runtime.

== Description ==

MevvCode is a local-first WordPress snippet manager. Editable records compile into an atomic file generation and a small manifest, so the normal request path does not query a snippet table for source code.

The free edition includes:

* Unlimited PHP, JavaScript, CSS, HTML and text snippets.
* Global, front-end, admin, head, body-open, footer, content, shortcode, manual and once locations.
* PHP syntax checks, a last-known-good generation, runtime fault isolation and signed Safe Mode recovery.
* Visible AND/OR conditions, priorities, groups, tags, locks, search and bulk actions.
* Ten local revisions per snippet with restore.
* MevvCode JSON and readable PHP export, plus Code Snippets and WPCode import adapters.
* A starter library, generators and a standalone must-use loader.
* A staged, health-checked and reversible migration from Code Snippets.
* Role capabilities and a code-redacted, read-only REST API.

No telemetry is sent and no external CDN is loaded. Cloud and AI features exist only in the separately installed Pro companion and remain off until explicitly enabled.

= Code Snippets migration =

Migration does not begin by switching the old plugin off. MevvCode first imports into a staged set, preserves each source id and exact code, validates all formerly active PHP, snapshots the active-plugin list and current runtime, then compiles a complete generation. Code Snippets is deactivated only for the final cutover. A signed loopback health check commits the change; failure restores the former plugin list and manifest automatically.

The Code Snippets database tables are not deleted. A manual rollback remains available after a successful cutover.

== Installation ==

1. Upload the `mevvcode` directory to `/wp-content/plugins/`, or install `mevvcode-1.1.0.zip` through Plugins > Add New.
2. Activate MevvCode.
3. Open MevvCode in the WordPress admin menu.
4. Create and validate an inactive snippet before activating it.
5. If migrating, use MevvCode > Migration and complete the preview before cutover.

== Frequently Asked Questions ==

= Does a snippet database query run on every request? =

No. Editable records are compiled to an atomic file generation. The active request path reads the generated manifest and files.

= What happens when PHP contains a syntax error? =

It cannot replace the current known-good generation. The source stays editable and the dashboard reports the validation error.

= Can I go back to Code Snippets after migration? =

Yes. The source tables remain intact and the rollback action restores the prior active-plugin list and MevvCode manifest.

= Does uninstalling delete my snippets? =

No. User-authored snippet records and rollback material are retained unless you deliberately remove them.

= Is cloud access required? =

No. The free plugin is fully local and does not contact a cloud service for normal operation.

== Privacy ==

The free edition does not send snippet code, usage analytics or personal data to the publisher. Administrators choose whether to install Pro and separately opt in to cloud workspaces or AI review. Runtime error records never contain snippet source code, licence keys or request secrets.

== Changelog ==

= 1.1.0 =

* Add complete Turkish translations for the Free dashboard, migration flow, errors and WordPress plugin row.
* Add Settings, Documentation and Support links to the WordPress plugin list.
* Ship editable PO, compiled MO and POT language catalogues in the installable package.

= 1.0.1 =

* Preserve literal percentage sequences in imported snippet names and metadata.
* Match Code Snippets' early WordPress execution phase during cutover.

= 1.0.0 =

* Initial release.
* Atomic file runtime for PHP, JavaScript, CSS, HTML and text snippets.
* Safe Mode, fault isolation, conditions, revisions, roles and read-only REST.
* Portable import/export, starter library and standalone loader.
* Reversible Code Snippets migration with signed health verification.
