From ce114efd08a3803e16b2a5018a03949fa49612c5 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Mon, 22 Dec 2025 10:24:57 +0100 Subject: [PATCH 1/2] Replace old Codex links --- src/Capabilities_Command.php | 3 ++- src/Role_Command.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Capabilities_Command.php b/src/Capabilities_Command.php index 97db2033..59b63cba 100644 --- a/src/Capabilities_Command.php +++ b/src/Capabilities_Command.php @@ -5,7 +5,8 @@ /** * Adds, removes, and lists capabilities of a user role. * - * See references for [Roles and Capabilities](https://codex.wordpress.org/Roles_and_Capabilities) and [WP User class](https://codex.wordpress.org/Class_Reference/WP_User). + * See references for [Roles and Capabilities](https://wordpress.org/documentation/article/roles-and-capabilities) + * and [WP User class](https://developer.wordpress.org/reference/classes/wp_user). * * ## EXAMPLES * diff --git a/src/Role_Command.php b/src/Role_Command.php index a029d2a3..56116db7 100644 --- a/src/Role_Command.php +++ b/src/Role_Command.php @@ -6,7 +6,8 @@ /** * Manages user roles, including creating new roles and resetting to defaults. * - * See references for [Roles and Capabilities](https://codex.wordpress.org/Roles_and_Capabilities) and [WP User class](https://codex.wordpress.org/Class_Reference/WP_User). + * See references for [Roles and Capabilities](https://wordpress.org/documentation/article/roles-and-capabilities) + * and [WP User class](https://developer.wordpress.org/reference/classes/wp_user). * * ## EXAMPLES * From 9cfcb16853141ba2a32903b05ec4d57ed366fd57 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Mon, 22 Dec 2025 10:27:30 +0100 Subject: [PATCH 2/2] Better wrapping --- src/Capabilities_Command.php | 4 ++-- src/Role_Command.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Capabilities_Command.php b/src/Capabilities_Command.php index 59b63cba..c421d4ff 100644 --- a/src/Capabilities_Command.php +++ b/src/Capabilities_Command.php @@ -5,8 +5,8 @@ /** * Adds, removes, and lists capabilities of a user role. * - * See references for [Roles and Capabilities](https://wordpress.org/documentation/article/roles-and-capabilities) - * and [WP User class](https://developer.wordpress.org/reference/classes/wp_user). + * See references for [Roles and Capabilities](https://wordpress.org/documentation/article/roles-and-capabilities) and + * [WP User class](https://developer.wordpress.org/reference/classes/wp_user). * * ## EXAMPLES * diff --git a/src/Role_Command.php b/src/Role_Command.php index 56116db7..2aceed04 100644 --- a/src/Role_Command.php +++ b/src/Role_Command.php @@ -6,8 +6,8 @@ /** * Manages user roles, including creating new roles and resetting to defaults. * - * See references for [Roles and Capabilities](https://wordpress.org/documentation/article/roles-and-capabilities) - * and [WP User class](https://developer.wordpress.org/reference/classes/wp_user). + * See references for [Roles and Capabilities](https://wordpress.org/documentation/article/roles-and-capabilities) and + * [WP User class](https://developer.wordpress.org/reference/classes/wp_user). * * ## EXAMPLES *