Browse Source

Add generic bottom hook for miscellaneous option pages

pdontthink 6 năm trước cách đây
mục cha
commit
317a57283d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/options.php

+ 1 - 1
src/options.php

@@ -466,7 +466,7 @@ if ($optpage == SMOPT_PAGE_MAIN) {
             $submit_name = 'submit_order';
             break;
         default:
-            $bottom_hook_name = '';
+            $bottom_hook_name = 'options_generic_bottom';
             $submit_name = 'submit';
     }