fix(tests): restore green contract suite

Drop the legacy credits_added message label per the hard-cut rule, switch
three remaining Font Awesome 4 icons to FA5 solid, and align two widget
contracts with the badge rule grouping and renderer list from fc04bf65.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
kate522andClaude Fable 5 committed 2026-10-31 14:18:01 +08:00
1 parent b32b56f8bc
commit 48e54dc115
7 files changed
+10 -15

No files matched your search

+1 -1
View File
@@ -103,7 +103,7 @@ final class WidgetDefinition {
'sidebar' => __('此模块只适合添加到侧边栏', 'aksrt'),
];
if (isset($reminders[$this->size])) {
$header[] = ['type' => 'submessage', 'style' => 'warning', 'content' => '<i class="fa fa-fw fa-info-circle"></i>' . esc_html($reminders[$this->size])];
$header[] = ['type' => 'submessage', 'style' => 'warning', 'content' => '<i class="fas fa-fw fa-info-circle"></i>' . esc_html($reminders[$this->size])];
}
$common = CommonFields::for_definition($this->common);
if ($common && $this->fields) {