Repository navigation
v1.8.2 - WP.org review fixes: revoke auth, attribution, enqueue
Addresses the four code issues flagged by the WordPress.org plugin review team. This release does NOT yet address the plugin name / slug / ownership-email items — those are administrative decisions and tracked separately.
Critical security fix
/oauth/revoke now authenticates the client (RFC 7009). The previous implementation had permission_callback => __return_true and looked up tokens purely by hash — no client auth, no token-ownership check. Anyone who knew (or guessed) a token value could revoke it remotely. The endpoint now requires Basic or POST client credentials and matches the token row's client_id to the authenticated client before revoking. RFC 7009 §2.2 200-response semantics preserved on no-match. Per-IP rate limit (20/min) added.
Compliance fixes
- Attribution removed from OAuth consent + error pages. The "powered by HBS IT GmbH" footer is gone (WP.org Guideline 10 forbids user-facing credit without opt-in). Admin attribution is unchanged.
- Inline
<script>/<style>extracted to enqueued files. Token + Settings page JS now inassets/js/*.js, registered viawp_enqueue_script+wp_add_inline_scriptfor PHP→JS data. OAuth consent + error pages linkassets/css/oauth-consent.cssinstead of inlining CSS. uninstall.phpno longer includes core admin files directly. Bot user deletion is now conditional onwp_delete_useralready being loaded.
Still pending (decisions, not code)
The review also flagged:
- Name / slug — "Commander" and "Claude" in the name/slug imply false affiliation. New name + slug needed.
- Email / identity — submitted from a gmail.com address while plugin claims HBS IT GmbH ownership. Either change WP.org account email to
@hbs-it-gmbh.deor add a DNS TXT recordwordpressorg-tahersayed-verificationat the domain root.