Tags: AlwaysCuriousCo/workos-for-wordpress
Tags
Only show admin pages when configured Wrap additional WorkOS admin submenu pages and tabs in an is_configured() check so Roles, Usage, Learning Mode, and Diagnostics are only visible after API keys/client ID are set. Add a private fetch_workos_roles_error() helper to surface role-fetch errors in the UI for debugging and show the error message when roles cannot be retrieved. Bump plugin version to 1.1.4 (WORKOS_WP_VERSION and header). Minor markup/indent changes around the settings tabs.
Add updater diagnostics and improve updater cache Add a self-update diagnostics card to the Diagnostics page that queries the GitHub releases API and displays installed vs latest version, cache/transient status, download URL and API response info. Refactor Updater to use a version-scoped cache key (workos_wp_update_<md5>) and delete the legacy workos_wp_update_check transient during registration. Ensure update/no_update arrays exist on the WP transient, avoid bailing when the "checked" array is empty, remove the plugin from no_update when an update is available, and bypass/delete the cache for forced checks (e.g. ?force-check or DOING_CRON). Also bump plugin version to 1.1.3.
Show plugin version in admin footer, bump to 1.1.2 Add admin_footer_text filter and Plugin::admin_footer_version method to display the WorkOS for WordPress version in the admin footer on WorkOS-related screens. The method checks the current screen id for "workos" and prefixes the footer text with the plugin version. Also update the plugin header and WORKOS_WP_VERSION constant to 1.1.2.
Improve updater caching and bump version Updater: relax type hints and guard against non-object transients; validate cached release as an array with a tag_name; introduce a 'none' sentinel and use a short (10 min) TTL for API failures or empty responses to avoid hammering GitHub. workos-for-wordpress.php: bump plugin header and WORKOS_WP_VERSION from 1.1.0 to 1.1.1.
Add WorkOS admin bar status and marketing update Add a WorkOS status indicator to the WordPress admin bar with a top-level node and sub-items for status, WorkOS user ID, organization ID, and admin links to settings and the WorkOS Dashboard. Status (suspended/synced/linked/not connected) is determined from user meta (_workos_suspended, _workos_synced_at, _workos_user_id, _workos_organization_id) and uses colored dot indicators; items and links are conditionally shown based on login state and capabilities. Inject inline CSS for layout and the status dot. Also bump plugin version constant and header to 1.1.0.
Rename 'Organization & Roles' to 'Roles' and bump version Replace occurrences of "Organization & Roles" with the shorter "Roles" across README.md and includes/Plugin.php (menu labels, tabs, page headers, and instructional text) to simplify UI wording and documentation. Also bump the plugin Version and WORKOS_WP_VERSION constant from 1.0.0 to 1.0.1 in workos-for-wordpress.php.
Add GitHub-based updater, bump to 0.9.1 Add a self-hosted update checker (includes/Updater.php) that queries GitHub Releases, caches results, and surfaces updates/details in the WP plugin interface. Instantiate and register the Updater in workos-for-wordpress.php and bump the plugin version to 0.9.1. Standardize produced artifact name to workos-for-wordpress.zip in bin/build-zip.sh and the release workflow, and update README with recommended release download and install-from-source instructions.
Add release workflow and build script
Add a GitHub Actions workflow to detect plugin version bumps, build a distributable zip, tag the repo and create a GitHub release. Add an executable bin/build-zip.sh script to locally produce dist/workos-for-wordpress-{version}.zip (installs production Composer deps and packages the plugin). Ignore /dist/ in .gitignore. Bump plugin header and WORKOS_WP_VERSION constant to 0.9.0 to match the packaged version.