-
Notifications
You must be signed in to change notification settings - Fork 322
Open
Labels
Description
Bug Description
Due to a recent change in WordPress, one of our PHP tests has started failing in the nightly build.
It looks like the test case tries to mutate the roles
property in the WP_User
object, which has now been changed to a protected property.
We should use the provided class methods to set roles.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
- The failing test case highlighted in the issue description should be updated so that it passes in all PHP versions and WordPress builds.