Changeset 12030 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/handbooks.php
- Timestamp:
- 08/25/2022 06:43:20 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/handbooks.php
r11377 r12030 171 171 172 172 // Get current user's role. 173 $role = wp_get_current_user()->roles[0];173 $role = current( wp_get_current_user()->roles ); 174 174 175 175 // Unset caps set by handbook plugin.
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)