From 8cadff68539628de2055339571fa8b2fd3e62750 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 7 May 2009 19:30:41 +0000 Subject: [PATCH] Allow plugis to replace just the default help, preserving contextual. git-svn-id: http://svn.automattic.com/wordpress/trunk@11235 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/template.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index ad57cbcc14..5974013915 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -3516,9 +3516,10 @@ function screen_meta($screen) { } $contextual_help .= '
'; - $contextual_help .= __('Documentation'); - $contextual_help .= '
'; - $contextual_help .= __('Support Forums'); + $default_help = __('Documentation'); + $default_help .= '
'; + $default_help .= __('Support Forums'); + $contextual_help .= apply_filters('default_contextual_help', $default_help); $contextual_help .= "
\n"; echo apply_filters('contextual_help', $contextual_help, $screen); ?>