Make WordPress Core


Ignore:
Timestamp:
05/26/2010 03:36:04 AM (15 years ago)
Author:
ryan
Message:

Post and page help. see #13467

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r14924 r14929  
    36353635    $contextual_help = '';
    36363636    if ( isset($_wp_contextual_help[$screen->id]) ) {
    3637         if ( !empty($title) )
    3638             $contextual_help .= '<h5>' . sprintf(__('Get help with &#8220;%s&#8221;'), $title) . '</h5>';
    3639         else
    3640             $contextual_help .= '<h5>' . __('Get help with this page') . '</h5>';
    36413637        $contextual_help .= '<div class="metabox-prefs">' . $_wp_contextual_help[$screen->id] . "</div>\n";
    3642 
    3643         $contextual_help .= '<h5>' . __('Other Help') . '</h5>';
    36443638    } else {
    3645         $contextual_help .= '<h5>' . __('Help') . '</h5>';
    3646     }
    3647 
    3648     $contextual_help .= '<div class="metabox-prefs">';
    3649     $default_help = __('<a href="http://codex.wordpress.org/" target="_blank">Documentation</a>');
    3650     $default_help .= '<br />';
    3651     $default_help .= __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>');
    3652     $contextual_help .= apply_filters('default_contextual_help', $default_help);
    3653     $contextual_help .= "</div>\n";
     3639        $contextual_help .= '<div class="metabox-prefs">';
     3640        $default_help = __('<a href="http://codex.wordpress.org/" target="_blank">Documentation</a>');
     3641        $default_help .= '<br />';
     3642        $default_help .= __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>');
     3643        $contextual_help .= apply_filters('default_contextual_help', $default_help);
     3644        $contextual_help .= "</div>\n";
     3645    }
     3646
    36543647    echo apply_filters('contextual_help', $contextual_help, $screen->id, $screen);
    36553648    ?>
Note: See TracChangeset for help on using the changeset viewer.