Changelog
=========

All notable changes to Restore Old Admin Colors are documented here.
This project adheres to Semantic Versioning (https://semver.org/).

1.0.2
-----
Safer restore tracking, cleanup, and dashboard documentation.

* Fixed the restore flagging logic so users are marked as restored only when
  the plugin actually changes their admin color scheme.
* Added `_roac_processed` tracking so users with an existing custom color are
  skipped once without being treated as migrated users.
* Added previous-color tracking with `_roac_previous_admin_color` before a user
  is moved to Fresh.
* Updated deactivation cleanup to restore the recorded previous color only when
  the user is still on Fresh, while preserving any later user-selected scheme.
* For legacy records created before previous-color tracking existed, cleanup now
  removes plugin metadata without guessing an unknown previous preference.
* Improved GoalPrevail dashboard strings, button wrapping, and checker-friendly
  inline ignores for the bundled admin menu icon.
* Updated readme wording to be transparent that the plugin adds a GoalPrevail
  dashboard/overview entry but has no configurable settings page.

1.0.1
-----
Login screen support.

* Hooks into `login_enqueue_scripts` to restore the classic pre-7.0
  "Fresh" styling on the login screen (wp-login.php): the classic blue
  WordPress logo, the classic blue submit button (including hover, focus
  and active states), and the classic blue input focus ring.
* Logo image URLs are resolved with `admin_url()` so the styles work on
  subdirectory and non-standard installs.
* Styles are printed only while the plugin is active and nothing is
  persisted, so they disappear immediately on deactivation or deletion.
* New code lives in `includes/login.php`.

1.0.0
-----
Initial release.

* Hooks into `user_register` to assign the classic "Fresh" admin color
  scheme to newly registered users.
* Hooks into `admin_init` to migrate the current logged-in user from the
  WordPress 7.0 "Modern" default (or no preference) back to "Fresh"
  exactly once.
* Hooks into `register_deactivation_hook` to remove plugin metadata and,
  where a previous color is known, restore migrated users safely.
* Custom user-selected schemes (Light, Blue, Midnight, Ocean, Coffee,
  Ectoplasm, Sunrise, etc.) are preserved.
* Code organised across `restore-old-admin-colors.php` (bootstrap),
  `includes/migrate.php` (registration and restore hooks), `includes/login.php`
  (login screen styling), and `includes/cleanup.php` (deactivation cleanup).
