Watrix Login as User

Changelog

1.0.3

  • Rename: plugin renamed from “Watrix User Switching” to “Watrix Login as User”; slug / text domain changed from watrix-user-switching to watrix-login-as-user to avoid confusion with the existing User Switching plugin.
  • Internals: constant, function, class, option, cookie, nonce and query-parameter prefixes updated accordingly (WATRIX_LOGIN_AS_USER_*, WATRIX_LAU_*, watrix_login_as_user_*, watrix_lau_*, WatrixLoginAsUser, watrix_lau_original, watrix_lau_audit_log, ?watrix_lau=…).
  • i18n: translation catalogue renamed to watrix-login-as-user-ja.po/.mo.
  • No functional or behavioural changes.

1.0.2

  • Compliance: pass WordPress.org Plugin Check 2.0.0 with zero errors and zero warnings.
  • readme.txt: rewritten in English; “Tested up to” bumped to 7.0; Japanese description retained below.
  • i18n: removed redundant load_plugin_textdomain() call (WP 4.6+ auto-loads translations for WP.org-hosted plugins).
  • uninstall.php: prefixed local variables ($watrix_lau_option_name, $watrix_lau_site_ids, $watrix_lau_site_id).
  • i18n: moved /* translators: */ comments to be immediately adjacent to the __() call.
  • nonce warnings: annotated the admin_init and admin-notice dispatchers (read-only status checks; the actual state-changing actions still verify nonces).
  • Packaging: added .distignore so .git, .gitignore, README.md and .DS_Store are excluded from the distribution ZIP.

1.0.1

  • i18n: switched UI strings to English source + translation catalogues. Japanese locale displays “切り替え” / “%s に切り替え”; other locales show “Switch to” / “Switch to %s”.
  • Security (H-1): removed the fallback signing secret. The plugin now fails closed when AUTH_KEY salts are not configured.
  • Public failure codes coarsened; detailed reasons now live only in the audit log (S-4).
  • Added uninstall.php to fully remove the audit-log option on plugin deletion (S-6).
  • Deactivation hook clears any in-flight impersonation cookie (S-6).
  • Reworked the user-edit screen UI to use a single dedicated form-table instead of a stray <tr> injection (L-4).
  • Standardised on output-time escaping (S-1).
  • Fixed mismatched /* translators: */ placeholders (L-1).
  • Bundled a compiled Japanese .mo file.

1.0.0

  • Initial release.

Plugin Website
Visit website

Version:
1.0.3
Last Updated
July 2, 2026
Requires
WordPress 6.0
Tested Up To
WordPress 7.0
Requires PHP
7.4

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.