mirror of
https://github.com/discourse/discourse.git
synced 2026-08-04 10:39:43 +08:00
Our UpcomingChangeStableOptedOut problem check was showing problems on brand new sites, when it should only show a problem after admin has opted out of a stable upcoming change. This was happening because on some sites a plugin might be disabled or not configurable, so it would return false when calling `SiteSetting.send(change_name)`, but crucially we weren't filtering out upcoming changes that shouldn't display on the site. This commit fixes the issue by returning no problem if the upcoming change is not configured to display on the site. |
||
|---|---|---|
| .. | ||
| computed_style_matcher.rb | ||
| dom_matcher.rb | ||
| match_html_matcher.rb | ||
| negated_matcher.rb | ||
| problem_check_matcher.rb | ||
| rate_limit_matcher.rb | ||
| service_matchers.rb | ||
| time_matcher.rb | ||
| ts_vector_matcher.rb | ||