[wp-meta] [Making WordPress.org] #6327: All channels are treated as private groups
Making WordPress.org
noreply at wordpress.org
Wed May 25 16:38:51 UTC 2022
#6327: All channels are treated as private groups
--------------------------+--------------------
Reporter: Clorith | Owner: (none)
Type: defect (bug) | Status: new
Priority: high | Milestone:
Component: Slack & IRC | Keywords:
--------------------------+--------------------
After r11878, all `/here` and similar calls are treating the channels as
private groups.
This appears to be caused by a missing
[https://meta.trac.wordpress.org/browser/sites/trunk/common/includes/slack/announce/lib.php?rev=11878#L177
`$` on line 177], which in PHP <8 only throws a warning, and interprets as
true, leading the conditional to pass and set the channel type as
`privategroup`.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/6327>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list