Changeset 63490
- Timestamp:
- 09/05/2026 05:56:32 AM (6 weeks ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/capabilities.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/capabilities.php
r62895 r63490 1079 1079 * @return WP_Roles WP_Roles global instance if not already instantiated. 1080 1080 */ 1081 function wp_roles() {1081 function wp_roles(): WP_Roles { 1082 1082 global $wp_roles; 1083 1083 1084 if ( ! isset( $wp_roles ) ) {1084 if ( ! ( $wp_roles instanceof WP_Roles ) ) { 1085 1085 $wp_roles = new WP_Roles(); 1086 1086 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)