[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 Nov 1 14:31:36 UTC 2025
#63427: User roles property should always be an array, but they sometimes become an
object in localized data
-------------------------------------------------+-------------------------
Reporter: haruncpi | Owner:
| SergeyBiryukov
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 6.9
Component: Users | Version: 2.0
Severity: normal | Resolution:
Keywords: has-patch has-test-info has-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Comment (by haruncpi):
I have merged the latest changes from `WordPress:trunk into` my PR branch.
I ran the `tests/phpunit/tests/user.php` suite, and all tests passed
successfully.
Additionally, the `test_user_roles_property_is_sequential_array` test ran
without any failures.
Replying to [comment:15 wildworks]:
> @haruncpi @SirLouen Can you rebase the pull request on top of the trunk
branch to run CI and ensure that the tests don't fail?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63427#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list