Changeset 14929 for trunk/wp-admin/includes/template.php
- Timestamp:
- 05/26/2010 03:36:04 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r14924 r14929 3635 3635 $contextual_help = ''; 3636 3636 if ( isset($_wp_contextual_help[$screen->id]) ) { 3637 if ( !empty($title) )3638 $contextual_help .= '<h5>' . sprintf(__('Get help with “%s”'), $title) . '</h5>';3639 else3640 $contextual_help .= '<h5>' . __('Get help with this page') . '</h5>';3641 3637 $contextual_help .= '<div class="metabox-prefs">' . $_wp_contextual_help[$screen->id] . "</div>\n"; 3642 3643 $contextual_help .= '<h5>' . __('Other Help') . '</h5>';3644 3638 } 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 3654 3647 echo apply_filters('contextual_help', $contextual_help, $screen->id, $screen); 3655 3648 ?>
Note: See TracChangeset
for help on using the changeset viewer.