Skip to content

Commit e2a9317

Browse files
committed
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.
1 parent 62c52db commit e2a9317

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ If you prefer to clone the repository directly:
6969

7070
1. Navigate to **WorkOS > Welcome** in your WordPress admin.
7171
2. Enter your **API Key** and **Client ID** from the [WorkOS Dashboard](https://dashboard.workos.com).
72-
3. Go to **WorkOS > Organization & Roles** and enter your **Organization ID**.
72+
3. Go to **WorkOS > Roles** and enter your **Organization ID**.
7373
4. In your WorkOS Dashboard, add your callback URL as a **Redirect URI**:
7474
```
7575
https://your-site.com/workos/callback
@@ -111,7 +111,7 @@ When the plugin is configured, the WordPress login page (`wp-login.php`) automat
111111

112112
Bind your WordPress site to a WorkOS organization and map WorkOS roles to WordPress roles.
113113

114-
1. Go to **WorkOS > Organization & Roles**.
114+
1. Go to **WorkOS > Roles**.
115115
2. Enter your Organization ID (or set it via `WORKOS_ORGANIZATION_ID` in `wp-config.php`).
116116
3. Add role mappings — for example, map the WorkOS `admin` role to the WordPress `administrator` role, and `member` to `editor`.
117117

includes/Plugin.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ public function register_settings_page(): void {
191191

192192
add_submenu_page(
193193
'workos-settings',
194-
__('Organization & Roles', 'workos-for-wordpress'),
195-
__('Organization & Roles', 'workos-for-wordpress'),
194+
__('Roles', 'workos-for-wordpress'),
195+
__('Roles', 'workos-for-wordpress'),
196196
'manage_options',
197197
'workos-role-mapping',
198198
[$this, 'render_role_mapping_page']
@@ -286,7 +286,7 @@ private function render_global_header(string $current_slug): void {
286286

287287
$tabs = [
288288
'workos-settings' => __('Welcome', 'workos-for-wordpress'),
289-
'workos-role-mapping' => __('Organization & Roles', 'workos-for-wordpress'),
289+
'workos-role-mapping' => __('Roles', 'workos-for-wordpress'),
290290
'workos-learning-mode' => __('Learning Mode', 'workos-for-wordpress'),
291291
'workos-usage' => __('Usage', 'workos-for-wordpress'),
292292
'workos-diagnostics' => __('Diagnostics', 'workos-for-wordpress'),
@@ -509,7 +509,7 @@ public function render_role_mapping_page(): void {
509509
<?php $this->render_global_header('workos-role-mapping'); ?>
510510

511511
<div class="workos-page-header">
512-
<h1><?php esc_html_e('Organization & Roles', 'workos-for-wordpress'); ?></h1>
512+
<h1><?php esc_html_e('Roles', 'workos-for-wordpress'); ?></h1>
513513
<p class="workos-page-description"><?php esc_html_e('Select which WorkOS organization this site belongs to and map its roles to WordPress roles.', 'workos-for-wordpress'); ?></p>
514514
</div>
515515

@@ -903,7 +903,7 @@ public function render_learning_mode_page(): void {
903903

904904
<?php if (!$configured): ?>
905905
<div class="workos-alert workos-alert-warning">
906-
<?php esc_html_e('API credentials and an organization must be configured before Learning Mode can be used. Configure them on the Welcome and Organization & Roles pages.', 'workos-for-wordpress'); ?>
906+
<?php esc_html_e('API credentials and an organization must be configured before Learning Mode can be used. Configure them on the Welcome and Roles pages.', 'workos-for-wordpress'); ?>
907907
</div>
908908
<?php endif; ?>
909909

@@ -921,7 +921,7 @@ public function render_learning_mode_page(): void {
921921
<p><strong><?php esc_html_e('Import Best Practices', 'workos-for-wordpress'); ?></strong></p>
922922
<p><strong><?php esc_html_e('Before importing:', 'workos-for-wordpress'); ?></strong></p>
923923
<p><?php esc_html_e('1. Audit your WordPress users — remove inactive or spam accounts first to avoid syncing unnecessary users.', 'workos-for-wordpress'); ?></p>
924-
<p><?php esc_html_e('2. Set up role mappings on the Organization & Roles page so users get the correct WorkOS role during import.', 'workos-for-wordpress'); ?></p>
924+
<p><?php esc_html_e('2. Set up role mappings on the Roles page so users get the correct WorkOS role during import.', 'workos-for-wordpress'); ?></p>
925925
<p><?php esc_html_e('3. Test with a small batch first — use the individual sync buttons to verify a few users before running a full sync.', 'workos-for-wordpress'); ?></p>
926926
<p><strong><?php esc_html_e('During import:', 'workos-for-wordpress'); ?></strong></p>
927927
<p><?php esc_html_e('4. Keep this page open during sync — the process runs in the browser and may take time for large user bases.', 'workos-for-wordpress'); ?></p>

workos-for-wordpress.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: WorkOS for WordPress
44
* Plugin URI: https://github.com/AlwaysCuriousCo/workos-for-wordpress
55
* Description: Integrate WorkOS authentication and user management into WordPress.
6-
* Version: 1.0.0
6+
* Version: 1.0.1
77
* Author: Always Curious
88
* Author URI: https://alwayscurious.co
99
* License: GPL-3.0-or-later
@@ -15,7 +15,7 @@
1515

1616
defined('ABSPATH') || exit;
1717

18-
define('WORKOS_WP_VERSION', '1.0.0');
18+
define('WORKOS_WP_VERSION', '1.0.1');
1919
define('WORKOS_WP_PLUGIN_FILE', __FILE__);
2020
define('WORKOS_WP_PLUGIN_DIR', plugin_dir_path(__FILE__));
2121
define('WORKOS_WP_PLUGIN_URL', plugin_dir_url(__FILE__));

0 commit comments

Comments
 (0)