wordpress-develop
wordpress-develop copied to clipboard
Fix: Normalize user role keys to string for admin filter
This PR fixes an issue where user roles created with integer keys do not appear in the admin users filter dropdown.
The fix normalizes role keys to strings when building the filter views, ensuring roles created with integer keys are displayed correctly in the Users admin screen.
Trac ticket
https://core.trac.wordpress.org/ticket/43796