Changes between Version 4 and Version 5 of Ticket #38433, comment 2
- Timestamp:
- 04/20/2019 09:38:47 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #38433, comment 2
v4 v5 1 I'v duplicated the calls in one function: `test_subscriber_cant_edit_posts` with the desired result, but then I have added a new function to test that an editor CAN edit their posts but no others in another site, but it looks like `current_user_can_for_blog` is always returning true when the other site doesn't exist.1 I'v duplicated the calls in one function: `test_subscriber_cant_edit_posts` with the desired result, but then I have added a new function to test that an editor CAN edit their posts but no others in another site, but it looks like `current_user_can_for_blog` takes the current site when the other site doesn't exist. 2 2 3 3 I'll attach the diff and the output.