Changeset 61644 for trunk/src/wp-includes/user.php
- Timestamp:
- 02/15/2026 08:01:50 AM (6 weeks ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/user.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r61637 r61644 2185 2185 * shortcuts for the user. Accepts 'true' or 'false' 2186 2186 * as a string literal, not boolean. Default 'false'. 2187 * @type string $admin_color Admin color scheme for the user. Default ' fresh'.2187 * @type string $admin_color Admin color scheme for the user. Default 'modern'. 2188 2188 * @type bool $use_ssl Whether the user should always access the admin over 2189 2189 * https. Default false. … … 2458 2458 $meta['comment_shortcuts'] = empty( $userdata['comment_shortcuts'] ) || 'false' === $userdata['comment_shortcuts'] ? 'false' : 'true'; 2459 2459 2460 $admin_color = empty( $userdata['admin_color'] ) ? ' fresh' : $userdata['admin_color'];2460 $admin_color = empty( $userdata['admin_color'] ) ? 'modern' : $userdata['admin_color']; 2461 2461 $meta['admin_color'] = preg_replace( '|[^a-z0-9 _.\-@]|i', '', $admin_color ); 2462 2462 … … 2547 2547 * @type string $syntax_highlighting Whether to enable the rich code editor for the user. Default 'true'. 2548 2548 * @type string $comment_shortcuts Whether to enable keyboard shortcuts for the user. Default 'false'. 2549 * @type string $admin_color The color scheme for a user's admin screen. Default ' fresh'.2549 * @type string $admin_color The color scheme for a user's admin screen. Default 'modern'. 2550 2550 * @type int|bool $use_ssl Whether to force SSL on the user's admin area. 0|false if SSL 2551 2551 * is not forced.
Note: See TracChangeset
for help on using the changeset viewer.