I can repro this.
My basic step by step:
- Adjust
email time window
to 1 minute (optional, but speeds things up) - As admin, ensure test user is Watching First Post for a test category
- As admin, create topic in #staff category
- Use post wrench to add Staff Colour to the first(/only) post
- Set topic timer to Schedule Publishing into the test category in 1 minute
- Have a small day dream about ice cream and wait for topic to be published and for a further minute to elapse to cover the email window
- As admin, check the test user’s notifications, and then check the site’s email logs
Expected Result: test user receives notification about the scheduled topic and an email log is present signifying an accompanying email notification has been sent
Actual Result: test user receives an onsite notification but no email is sent out
(Also performed this test without the staff colour step as a control. All working fine. Both onsite notification and email notification were sent)
Is it something to do with staff colour adjusting the post_type to ‘2’ (moderator_action) and this not being accounted for in the code?