You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/Actions/Display.php
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1360,10 +1360,14 @@ protected function buildButtons(): void
1360
1360
}
1361
1361
1362
1362
// Allow adding new buttons easily.
1363
-
// Note: Utils::$context['normal_buttons'] and Utils::$context['mod_buttons'] are added for backward compatibility with 2.0, but are deprecated and should not be used
1363
+
// MOD AUTHORS: A future version of SMF will stop passing Utils::$context['normal_buttons'] to this hook.
1364
+
// You should just interact with Utils::$context['normal_buttons'] directly in your hooked code.
0 commit comments