X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/wordpress.git/blobdiff_plain/ff81ee6e8304a1982a3ec4f5b134764a29d502cf..899389d1e4043331309c0433543419258b230b60:/wp-admin/options-discussion.php diff --git a/wp-admin/options-discussion.php b/wp-admin/options-discussion.php index af2db9a6..41450fc4 100644 --- a/wp-admin/options-discussion.php +++ b/wp-admin/options-discussion.php @@ -1,100 +1,306 @@ find_spam(); - echo $retrospaminator->display_edit_form( $result ); - include('./admin-footer.php'); - exit; +/** + * Output JavaScript to toggle display of additional settings if avatars are disabled. + * + * @since 4.2.0 + */ +function options_discussion_add_js() { +?> + +add_help_tab( array( + 'id' => 'overview', + 'title' => __('Overview'), + 'content' => '
' . __('This screen provides many options for controlling the management and display of comments and links to your posts/pages. So many, in fact, they won’t all fit here! :) Use the documentation links to get information on what each discussion setting does.') . '
' . + '' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '
', +) ); + +get_current_screen()->set_help_sidebar( + '' . __('For more information:') . '
' . + '' . __('Documentation on Discussion Settings') . '
' . + '' . __('Support Forums') . '
' +); + +include( ABSPATH . 'wp-admin/admin-header.php' ); ?> -