diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php
index e2de04dfe9..da99d563c8 100644
--- a/wp-admin/admin-header.php
+++ b/wp-admin/admin-header.php
@@ -32,39 +32,24 @@ addLoadEvent = function(func) {if (typeof jQuery != "undefined") jQuery(document
@@ -105,7 +90,8 @@ if ( function_exists('mb_strlen') ) {
' . sprintf(__('Get help with "%s"'), $title) . '';
- else
- echo '
' . __('Get help with this page') . '
';
- echo '
' . $help[$screen] . "
\n";
-
- echo '
' . __('Other Help') . '
';
- } else {
- echo '
' . __('Help') . '
';
- }
+ $contextual_help = '';
+ if ( isset($help[$screen]) ) {
+ if ( isset($title) )
+ $contextual_help .= '
' . sprintf(__('Get help with "%s"'), $title) . '
';
+ else
+ $contextual_help .= '
' . __('Get help with this page') . '
';
+ $contextual_help .= '
' . $help[$screen] . "
\n";
- echo '
\n";
+ $contextual_help .= '
' . __('Other Help') . '
';
+ } else {
+ $contextual_help .= '
' . __('Help') . '
';
}
+
+ $contextual_help .= '
\n";
+ echo apply_filters('contextual_help', $contextual_help, $screen, $suffix);
?>