Ticket #64483: 64483.patch
| File 64483.patch, 3.0 KB (added by , 4 weeks ago) |
|---|
-
wp-includes/abilities.php
138 138 'label' => __( 'Get User Information' ), 139 139 'description' => __( 'Returns basic profile details for the current authenticated user to support personalization, auditing, and access-aware behavior.' ), 140 140 'category' => $category_user, 141 'input_schema' => array( 142 'type' => 'object', 143 'additionalProperties' => false, 144 'default' => array(), 145 ), 141 146 'output_schema' => array( 142 147 'type' => 'object', 143 148 'required' => array( 'id', 'display_name', 'user_nicename', 'user_login', 'roles', 'locale' ), … … 204 209 'label' => __( 'Get Environment Info' ), 205 210 'description' => __( 'Returns core details about the site\'s runtime context for diagnostics and compatibility (environment, PHP runtime, database server info, WordPress version).' ), 206 211 'category' => $category_site, 212 'input_schema' => array( 213 'type' => 'object', 214 'additionalProperties' => false, 215 'default' => array(), 216 ), 207 217 'output_schema' => array( 208 218 'type' => 'object', 209 219 'required' => array( 'environment', 'php_version', 'db_server_info', 'wp_version' ),