From 424eed30a7ec21483ec6c59d65838dceb7f833f0 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 7 May 2009 19:30:41 +0000 Subject: [PATCH] Allow plugis to replace just the default help, preserving contextual. git-svn-id: https://develop.svn.wordpress.org/trunk@11235 602fd350-edb4-49c9-b593-d223f7449a82 --- 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); ?>