From 8a4a7042126705182780aa05aa103414f3c7771e Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 14 Nov 2008 23:54:15 +0000 Subject: [PATCH] contextual_help_link filter. Pass page hook instead of pagenow to screen_meta(). fixes #8216 git-svn-id: https://develop.svn.wordpress.org/trunk@9702 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/admin-header.php | 2 +- wp-admin/includes/template.php | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php index 4c180d279a..b948f14ca4 100644 --- a/wp-admin/admin-header.php +++ b/wp-admin/admin-header.php @@ -91,7 +91,7 @@ if ( function_exists('mb_strlen') ) { Writing Posts'); - $help['general-settings'] = __('General Settings'); + $help['options-general'] = __('General Settings'); + $help = apply_filters('contextual_help_link', $help, $screen); ?> \n"; - echo apply_filters('contextual_help', $contextual_help, $screen, $suffix); + echo apply_filters('contextual_help', $contextual_help, $screen); ?>