wordpress-develop icon indicating copy to clipboard operation
wordpress-develop copied to clipboard

Fix: Normalize user role keys to string for admin filter

Open saiyashwanth07 opened this issue 1 week ago • 3 comments

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

saiyashwanth07 avatar Jan 12 '26 18:01 saiyashwanth07