Ticket #38145: 38145.patch
| File 38145.patch, 14.4 KB (added by , 10 years ago) |
|---|
-
wp-admin/edit-comments.php
162 162 163 163 get_current_screen()->set_help_sidebar( 164 164 '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . 165 '<p>' . __( '<a href="https://codex.wordpress.org/Administration_Screens#Comments" target="_blank">Documentation on Comments</a>' ) . '</p>' .166 '<p>' . __( '<a href="https://codex.wordpress.org/Comment_Spam" target="_blank">Documentation on Comment Spam</a>' ) . '</p>' .167 '<p>' . __( '<a href="https://codex.wordpress.org/Keyboard_Shortcuts" target="_blank">Documentation on Keyboard Shortcuts</a>' ) . '</p>' .168 '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>'165 '<p>' . __( '<a href="https://codex.wordpress.org/Administration_Screens#Comments">Documentation on Comments</a>' ) . '</p>' . 166 '<p>' . __( '<a href="https://codex.wordpress.org/Comment_Spam">Documentation on Comment Spam</a>' ) . '</p>' . 167 '<p>' . __( '<a href="https://codex.wordpress.org/Keyboard_Shortcuts">Documentation on Keyboard Shortcuts</a>' ) . '</p>' . 168 '<p>' . __( '<a href="https://wordpress.org/support/">Support Forums</a>' ) . '</p>' 169 169 ); 170 170 171 171 get_current_screen()->set_screen_reader_content( array( -
wp-admin/edit-form-advanced.php
378 378 get_current_screen()->set_help_sidebar( 379 379 '<p>' . sprintf(__('You can also create posts with the <a href="%s">Press This bookmarklet</a>.'), 'tools.php') . '</p>' . 380 380 '<p><strong>' . __('For more information:') . '</strong></p>' . 381 '<p>' . __('<a href="https://codex.wordpress.org/Posts_Add_New_Screen" target="_blank">Documentation on Writing and Editing Posts</a>') . '</p>' .382 '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'381 '<p>' . __('<a href="https://codex.wordpress.org/Posts_Add_New_Screen">Documentation on Writing and Editing Posts</a>') . '</p>' . 382 '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>' 383 383 ); 384 384 } elseif ( 'page' == $post_type ) { 385 385 $about_pages = '<p>' . __('Pages are similar to posts in that they have a title, body text, and associated metadata, but they are different in that they are not part of the chronological blog stream, kind of like permanent posts. Pages are not categorized or tagged, but can have a hierarchy. You can nest pages under other pages by making one the “Parent” of the other, creating a group of pages.') . '</p>' . … … 393 393 394 394 get_current_screen()->set_help_sidebar( 395 395 '<p><strong>' . __('For more information:') . '</strong></p>' . 396 '<p>' . __('<a href="https://codex.wordpress.org/Pages_Add_New_Screen" target="_blank">Documentation on Adding New Pages</a>') . '</p>' .397 '<p>' . __('<a href="https://codex.wordpress.org/Pages_Screen#Editing_Individual_Pages" target="_blank">Documentation on Editing Pages</a>') . '</p>' .398 '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'396 '<p>' . __('<a href="https://codex.wordpress.org/Pages_Add_New_Screen">Documentation on Adding New Pages</a>') . '</p>' . 397 '<p>' . __('<a href="https://codex.wordpress.org/Pages_Screen#Editing_Individual_Pages">Documentation on Editing Pages</a>') . '</p>' . 398 '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>' 399 399 ); 400 400 } elseif ( 'attachment' == $post_type ) { 401 401 get_current_screen()->add_help_tab( array( … … 410 410 411 411 get_current_screen()->set_help_sidebar( 412 412 '<p><strong>' . __('For more information:') . '</strong></p>' . 413 '<p>' . __('<a href="https://codex.wordpress.org/Media_Add_New_Screen#Edit_Media" target="_blank">Documentation on Edit Media</a>') . '</p>' .414 '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'413 '<p>' . __('<a href="https://codex.wordpress.org/Media_Add_New_Screen#Edit_Media">Documentation on Edit Media</a>') . '</p>' . 414 '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>' 415 415 ); 416 416 } 417 417 -
wp-admin/edit-link-form.php
57 57 'content' => 58 58 '<p>' . __( 'You can add or edit links on this screen by entering information in each of the boxes. Only the link’s web address and name (the text you want to display on your site as the link) are required fields.' ) . '</p>' . 59 59 '<p>' . __( 'The boxes for link name, web address, and description have fixed positions, while the others may be repositioned using drag and drop. You can also hide boxes you don’t use in the Screen Options tab, or minimize boxes by clicking on the title bar of the box.' ) . '</p>' . 60 '<p>' . __( 'XFN stands for <a href="http://gmpg.org/xfn/" target="_blank">XHTML Friends Network</a>, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of the site to which you are linking.' ) . '</p>'60 '<p>' . __( 'XFN stands for <a href="http://gmpg.org/xfn/">XHTML Friends Network</a>, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of the site to which you are linking.' ) . '</p>' 61 61 ) ); 62 62 63 63 get_current_screen()->set_help_sidebar( 64 64 '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . 65 '<p>' . __( '<a href="https://codex.wordpress.org/Links_Add_New_Screen" target="_blank">Documentation on Creating Links</a>' ) . '</p>' .66 '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>'65 '<p>' . __( '<a href="https://codex.wordpress.org/Links_Add_New_Screen">Documentation on Creating Links</a>' ) . '</p>' . 66 '<p>' . __( '<a href="https://wordpress.org/support/">Support Forums</a>' ) . '</p>' 67 67 ); 68 68 69 69 require_once( ABSPATH . 'wp-admin/admin-header.php' ); -
wp-admin/edit-tags.php
279 279 $help = '<p><strong>' . __( 'For more information:' ) . '</strong></p>'; 280 280 281 281 if ( 'category' == $taxonomy ) 282 $help .= '<p>' . __( '<a href="https://codex.wordpress.org/Posts_Categories_Screen" target="_blank">Documentation on Categories</a>' ) . '</p>';282 $help .= '<p>' . __( '<a href="https://codex.wordpress.org/Posts_Categories_Screen">Documentation on Categories</a>' ) . '</p>'; 283 283 elseif ( 'link_category' == $taxonomy ) 284 $help .= '<p>' . __( '<a href="https://codex.wordpress.org/Links_Link_Categories_Screen" target="_blank">Documentation on Link Categories</a>' ) . '</p>';284 $help .= '<p>' . __( '<a href="https://codex.wordpress.org/Links_Link_Categories_Screen">Documentation on Link Categories</a>' ) . '</p>'; 285 285 else 286 $help .= '<p>' . __( '<a href="https://codex.wordpress.org/Posts_Tags_Screen" target="_blank">Documentation on Tags</a>' ) . '</p>';286 $help .= '<p>' . __( '<a href="https://codex.wordpress.org/Posts_Tags_Screen">Documentation on Tags</a>' ) . '</p>'; 287 287 288 $help .= '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>';288 $help .= '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'; 289 289 290 290 get_current_screen()->set_help_sidebar( $help ); 291 291 -
wp-admin/edit.php
221 221 222 222 get_current_screen()->set_help_sidebar( 223 223 '<p><strong>' . __('For more information:') . '</strong></p>' . 224 '<p>' . __('<a href="https://codex.wordpress.org/Posts_Screen" target="_blank">Documentation on Managing Posts</a>') . '</p>' .225 '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'224 '<p>' . __('<a href="https://codex.wordpress.org/Posts_Screen">Documentation on Managing Posts</a>') . '</p>' . 225 '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>' 226 226 ); 227 227 228 228 } elseif ( 'page' == $post_type ) { … … 242 242 243 243 get_current_screen()->set_help_sidebar( 244 244 '<p><strong>' . __('For more information:') . '</strong></p>' . 245 '<p>' . __('<a href="https://codex.wordpress.org/Pages_Screen" target="_blank">Documentation on Managing Pages</a>') . '</p>' .246 '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'245 '<p>' . __('<a href="https://codex.wordpress.org/Pages_Screen">Documentation on Managing Pages</a>') . '</p>' . 246 '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>' 247 247 ); 248 248 249 249 } -
wp-admin/export.php
51 51 52 52 get_current_screen()->set_help_sidebar( 53 53 '<p><strong>' . __('For more information:') . '</strong></p>' . 54 '<p>' . __('<a href="https://codex.wordpress.org/Tools_Export_Screen" target="_blank">Documentation on Export</a>') . '</p>' .55 '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'54 '<p>' . __('<a href="https://codex.wordpress.org/Tools_Export_Screen">Documentation on Export</a>') . '</p>' . 55 '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>' 56 56 ); 57 57 58 58 // If the 'download' URL parameter is set, a WXR export file is baked and returned. -
wp-admin/import.php
26 26 27 27 get_current_screen()->set_help_sidebar( 28 28 '<p><strong>' . __('For more information:') . '</strong></p>' . 29 '<p>' . __('<a href="https://codex.wordpress.org/Tools_Import_Screen" target="_blank">Documentation on Import</a>') . '</p>' .30 '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'29 '<p>' . __('<a href="https://codex.wordpress.org/Tools_Import_Screen">Documentation on Import</a>') . '</p>' . 30 '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>' 31 31 ); 32 32 33 33 if ( current_user_can( 'install_plugins' ) ) { -
wp-admin/index.php
95 95 96 96 $screen->set_help_sidebar( 97 97 '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . 98 '<p>' . __( '<a href="https://codex.wordpress.org/Dashboard_Screen" target="_blank">Documentation on Dashboard</a>' ) . '</p>' .99 '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>'98 '<p>' . __( '<a href="https://codex.wordpress.org/Dashboard_Screen">Documentation on Dashboard</a>' ) . '</p>' . 99 '<p>' . __( '<a href="https://wordpress.org/support/">Support Forums</a>' ) . '</p>' 100 100 ); 101 101 102 102 include( ABSPATH . 'wp-admin/admin-header.php' ); -
wp-admin/link-manager.php
57 57 58 58 get_current_screen()->set_help_sidebar( 59 59 '<p><strong>' . __('For more information:') . '</strong></p>' . 60 '<p>' . __('<a href="https://codex.wordpress.org/Links_Screen" target="_blank">Documentation on Managing Links</a>') . '</p>' .61 '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'60 '<p>' . __('<a href="https://codex.wordpress.org/Links_Screen">Documentation on Managing Links</a>') . '</p>' . 61 '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>' 62 62 ); 63 63 64 64 get_current_screen()->set_screen_reader_content( array( -
wp-admin/media-new.php
53 53 ) ); 54 54 get_current_screen()->set_help_sidebar( 55 55 '<p><strong>' . __('For more information:') . '</strong></p>' . 56 '<p>' . __('<a href="https://codex.wordpress.org/Media_Add_New_Screen" target="_blank">Documentation on Uploading Media Files</a>') . '</p>' .57 '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'56 '<p>' . __('<a href="https://codex.wordpress.org/Media_Add_New_Screen">Documentation on Uploading Media Files</a>') . '</p>' . 57 '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>' 58 58 ); 59 59 60 60 require_once( ABSPATH . 'wp-admin/admin-header.php' ); -
wp-admin/media.php
80 80 81 81 get_current_screen()->set_help_sidebar( 82 82 '<p><strong>' . __('For more information:') . '</strong></p>' . 83 '<p>' . __('<a href="https://codex.wordpress.org/Media_Add_New_Screen#Edit_Media" target="_blank">Documentation on Edit Media</a>') . '</p>' .84 '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'83 '<p>' . __('<a href="https://codex.wordpress.org/Media_Add_New_Screen#Edit_Media">Documentation on Edit Media</a>') . '</p>' . 84 '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>' 85 85 ); 86 86 87 87 require( ABSPATH . 'wp-admin/admin-header.php' ); -
wp-admin/nav-menus.php
567 567 568 568 get_current_screen()->set_help_sidebar( 569 569 '<p><strong>' . __('For more information:') . '</strong></p>' . 570 '<p>' . __('<a href="https://codex.wordpress.org/Appearance_Menus_Screen" target="_blank">Documentation on Menus</a>') . '</p>' .571 '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'570 '<p>' . __('<a href="https://codex.wordpress.org/Appearance_Menus_Screen">Documentation on Menus</a>') . '</p>' . 571 '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>' 572 572 ); 573 573 574 574 // Get the admin header.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)