[wp-trac] [WordPress Trac] #63427: User roles property should always be an array, but they sometimes become an object in localized data

WordPress Trac noreply at wordpress.org
Sat May 10 06:48:58 UTC 2025


#63427: User roles property should always be an array, but they sometimes become an
object in localized data
--------------------------+------------------------------
 Reporter:  haruncpi      |       Owner:  haruncpi
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  6.8
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  sustainability
--------------------------+------------------------------
Changes (by haruncpi):

 * Attachment "63427.diff" added.

 Adds array reindexing to ensure roles remains a proper indexed array

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63427>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list