From ae3fc0525391f77223464b4d22efb5f8b615a009 Mon Sep 17 00:00:00 2001 From: ryan 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: http://svn.automattic.com/wordpress/trunk@9702 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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); ?>