Ticket #38215: 38215.patch
File 38215.patch, 15.5 KB (added by , 8 years ago) |
---|
-
src/wp-admin/plugin-editor.php
140 140 141 141 get_current_screen()->set_help_sidebar( 142 142 '<p><strong>' . __('For more information:') . '</strong></p>' . 143 '<p>' . __('<a href="https://codex.wordpress.org/Plugins_Editor_Screen" target="_blank">Documentation on Editing Plugins</a>') . '</p>' .144 '<p>' . __('<a href="https://codex.wordpress.org/Writing_a_Plugin" target="_blank">Documentation on Writing Plugins</a>') . '</p>' .145 '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'143 '<p>' . __('<a href="https://codex.wordpress.org/Plugins_Editor_Screen">Documentation on Editing Plugins</a>') . '</p>' . 144 '<p>' . __('<a href="https://codex.wordpress.org/Writing_a_Plugin">Documentation on Writing Plugins</a>') . '</p>' . 145 '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>' 146 146 ); 147 147 148 148 require_once(ABSPATH . 'wp-admin/admin-header.php'); -
src/wp-admin/plugin-install.php
79 79 'id' => 'overview', 80 80 'title' => __('Overview'), 81 81 'content' => 82 '<p>' . sprintf( __('Plugins hook into WordPress to extend its functionality with custom features. Plugins are developed independently from the core WordPress application by thousands of developers all over the world. All plugins in the official <a href="%s" target="_blank">WordPress Plugin Directory</a> are compatible with the license WordPress uses.' ), __( 'https://wordpress.org/plugins/' ) ) . '</p>' .82 '<p>' . sprintf( __('Plugins hook into WordPress to extend its functionality with custom features. Plugins are developed independently from the core WordPress application by thousands of developers all over the world. All plugins in the official <a href="%s">WordPress Plugin Directory</a> are compatible with the license WordPress uses.' ), __( 'https://wordpress.org/plugins/' ) ) . '</p>' . 83 83 '<p>' . __( 'You can find new plugins to install by searching or browsing the directory right here in your own Plugins section.' ) . ' <span id="live-search-desc" class="hide-if-no-js">' . __( 'The search results will be updated as you type.' ) . '</span></p>' 84 84 85 85 ) ); … … 95 95 96 96 get_current_screen()->set_help_sidebar( 97 97 '<p><strong>' . __('For more information:') . '</strong></p>' . 98 '<p>' . __('<a href="https://codex.wordpress.org/Plugins_Add_New_Screen" target="_blank">Documentation on Installing Plugins</a>') . '</p>' .99 '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'98 '<p>' . __('<a href="https://codex.wordpress.org/Plugins_Add_New_Screen">Documentation on Installing Plugins</a>') . '</p>' . 99 '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>' 100 100 ); 101 101 102 102 get_current_screen()->set_screen_reader_content( array( -
src/wp-admin/plugins.php
400 400 '<p>' . __( 'The search for installed plugins will search for terms in their name, description, or author.' ) . ' <span id="live-search-desc" class="hide-if-no-js">' . __( 'The search results will be updated as you type.' ) . '</span></p>' . 401 401 '<p>' . sprintf( 402 402 /* translators: %s: WordPress Plugin Directory URL */ 403 __( 'If you would like to see more plugins to choose from, click on the “Add New” button and you will be able to browse or search for additional plugins from the <a href="%s" target="_blank">WordPress Plugin Directory</a>. Plugins in the WordPress Plugin Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they’re free!' ),403 __( 'If you would like to see more plugins to choose from, click on the “Add New” button and you will be able to browse or search for additional plugins from the <a href="%s">WordPress Plugin Directory</a>. Plugins in the WordPress Plugin Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they’re free!' ), 404 404 __( 'https://wordpress.org/plugins/' ) 405 405 ) . '</p>' 406 406 ) ); … … 418 418 419 419 get_current_screen()->set_help_sidebar( 420 420 '<p><strong>' . __('For more information:') . '</strong></p>' . 421 '<p>' . __('<a href="https://codex.wordpress.org/Managing_Plugins#Plugin_Management" target="_blank">Documentation on Managing Plugins</a>') . '</p>' .422 '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'421 '<p>' . __('<a href="https://codex.wordpress.org/Managing_Plugins#Plugin_Management">Documentation on Managing Plugins</a>') . '</p>' . 422 '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>' 423 423 ); 424 424 425 425 get_current_screen()->set_screen_reader_content( array( -
src/wp-admin/revision.php
116 116 ) ); 117 117 118 118 $revisions_sidebar = '<p><strong>' . __( 'For more information:' ) . '</strong></p>'; 119 $revisions_sidebar .= '<p>' . __( '<a href="https://codex.wordpress.org/Revision_Management" target="_blank">Revisions Management</a>' ) . '</p>';120 $revisions_sidebar .= '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>';119 $revisions_sidebar .= '<p>' . __( '<a href="https://codex.wordpress.org/Revision_Management">Revisions Management</a>' ) . '</p>'; 120 $revisions_sidebar .= '<p>' . __( '<a href="https://wordpress.org/support/">Support Forums</a>' ) . '</p>'; 121 121 122 122 get_current_screen()->set_help_sidebar( $revisions_sidebar ); 123 123 -
src/wp-admin/theme-editor.php
30 30 <p id="newcontent-description">' . __( 'In the editing area the Tab key enters a tab character. To move below this area by pressing Tab, press the Esc key followed by the Tab key. In some cases the Esc key will need to be pressed twice before the Tab key will allow you to continue.' ) . '</p> 31 31 <p>' . __('After typing in your edits, click Update File.') . '</p> 32 32 <p>' . __('<strong>Advice:</strong> think very carefully about your site crashing if you are live-editing the theme currently in use.') . '</p> 33 <p>' . sprintf( __('Upgrading to a newer version of the same theme will override changes made here. To avoid this, consider creating a <a href="%s" target="_blank">child theme</a> instead.'), __('https://codex.wordpress.org/Child_Themes') ) . '</p>' .33 <p>' . sprintf( __('Upgrading to a newer version of the same theme will override changes made here. To avoid this, consider creating a <a href="%s">child theme</a> instead.'), __('https://codex.wordpress.org/Child_Themes') ) . '</p>' . 34 34 ( is_network_admin() ? '<p>' . __('Any edits to files from this screen will be reflected on all sites in the network.') . '</p>' : '' ) 35 35 ) ); 36 36 37 37 get_current_screen()->set_help_sidebar( 38 38 '<p><strong>' . __('For more information:') . '</strong></p>' . 39 '<p>' . __('<a href="https://codex.wordpress.org/Theme_Development" target="_blank">Documentation on Theme Development</a>') . '</p>' .40 '<p>' . __('<a href="https://codex.wordpress.org/Using_Themes" target="_blank">Documentation on Using Themes</a>') . '</p>' .41 '<p>' . __('<a href="https://codex.wordpress.org/Editing_Files" target="_blank">Documentation on Editing Files</a>') . '</p>' .42 '<p>' . __('<a href="https://codex.wordpress.org/Template_Tags" target="_blank">Documentation on Template Tags</a>') . '</p>' .43 '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'39 '<p>' . __('<a href="https://codex.wordpress.org/Theme_Development">Documentation on Theme Development</a>') . '</p>' . 40 '<p>' . __('<a href="https://codex.wordpress.org/Using_Themes">Documentation on Using Themes</a>') . '</p>' . 41 '<p>' . __('<a href="https://codex.wordpress.org/Editing_Files">Documentation on Editing Files</a>') . '</p>' . 42 '<p>' . __('<a href="https://codex.wordpress.org/Template_Tags">Documentation on Template Tags</a>') . '</p>' . 43 '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>' 44 44 ); 45 45 46 46 wp_reset_vars( array( 'action', 'error', 'file', 'theme' ) ); -
src/wp-admin/theme-install.php
78 78 $help_overview = 79 79 '<p>' . sprintf( 80 80 /* translators: %s: Theme Directory URL */ 81 __( 'You can find additional themes for your site by using the Theme Browser/Installer on this screen, which will display themes from the <a href="%s" target="_blank">WordPress Theme Directory</a>. These themes are designed and developed by third parties, are available free of charge, and are compatible with the license WordPress uses.' ),81 __( 'You can find additional themes for your site by using the Theme Browser/Installer on this screen, which will display themes from the <a href="%s">WordPress Theme Directory</a>. These themes are designed and developed by third parties, are available free of charge, and are compatible with the license WordPress uses.' ), 82 82 __( 'https://wordpress.org/themes/' ) 83 83 ) . '</p>' . 84 84 '<p>' . __( 'You can Search for themes by keyword, author, or tag, or can get more specific and search by criteria listed in the feature filter.' ) . ' <span id="live-search-desc">' . __( 'The search results will be updated as you type.' ) . '</span></p>' . … … 107 107 108 108 get_current_screen()->set_help_sidebar( 109 109 '<p><strong>' . __('For more information:') . '</strong></p>' . 110 '<p>' . __('<a href="https://codex.wordpress.org/Using_Themes#Adding_New_Themes" target="_blank">Documentation on Adding New Themes</a>') . '</p>' .111 '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'110 '<p>' . __('<a href="https://codex.wordpress.org/Using_Themes#Adding_New_Themes">Documentation on Adding New Themes</a>') . '</p>' . 111 '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>' 112 112 ); 113 113 114 114 include(ABSPATH . 'wp-admin/admin-header.php'); -
src/wp-admin/themes.php
89 89 if ( is_multisite() ) { 90 90 $help_install = '<p>' . __('Installing themes on Multisite can only be done from the Network Admin section.') . '</p>'; 91 91 } else { 92 $help_install = '<p>' . sprintf( __('If you would like to see more themes to choose from, click on the “Add New” button and you will be able to browse or search for additional themes from the <a href="%s" target="_blank">WordPress Theme Directory</a>. Themes in the WordPress Theme Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they’re free!'), __( 'https://wordpress.org/themes/' ) ) . '</p>';92 $help_install = '<p>' . sprintf( __('If you would like to see more themes to choose from, click on the “Add New” button and you will be able to browse or search for additional themes from the <a href="%s">WordPress Theme Directory</a>. Themes in the WordPress Theme Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they’re free!'), __( 'https://wordpress.org/themes/' ) ) . '</p>'; 93 93 } 94 94 95 95 get_current_screen()->add_help_tab( array( … … 115 115 116 116 get_current_screen()->set_help_sidebar( 117 117 '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . 118 '<p>' . __( '<a href="https://codex.wordpress.org/Using_Themes" target="_blank">Documentation on Using Themes</a>' ) . '</p>' .119 '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>'118 '<p>' . __( '<a href="https://codex.wordpress.org/Using_Themes">Documentation on Using Themes</a>' ) . '</p>' . 119 '<p>' . __( '<a href="https://wordpress.org/support/">Support Forums</a>' ) . '</p>' 120 120 ); 121 121 122 122 if ( current_user_can( 'switch_themes' ) ) { -
src/wp-admin/tools.php
25 25 26 26 get_current_screen()->set_help_sidebar( 27 27 '<p><strong>' . __('For more information:') . '</strong></p>' . 28 '<p>' . __('<a href="https://codex.wordpress.org/Tools_Screen" target="_blank">Documentation on Tools</a>') . '</p>' .29 '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'28 '<p>' . __('<a href="https://codex.wordpress.org/Tools_Screen">Documentation on Tools</a>') . '</p>' . 29 '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>' 30 30 ); 31 31 32 32 require_once( ABSPATH . 'wp-admin/admin-header.php' ); -
src/wp-admin/update-core.php
569 569 570 570 get_current_screen()->set_help_sidebar( 571 571 '<p><strong>' . __('For more information:') . '</strong></p>' . 572 '<p>' . __( '<a href="https://codex.wordpress.org/Dashboard_Updates_Screen" target="_blank">Documentation on Updating WordPress</a>' ) . '</p>' .573 '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>'572 '<p>' . __( '<a href="https://codex.wordpress.org/Dashboard_Updates_Screen">Documentation on Updating WordPress</a>' ) . '</p>' . 573 '<p>' . __( '<a href="https://wordpress.org/support/">Support Forums</a>' ) . '</p>' 574 574 ); 575 575 576 576 if ( 'upgrade-core' == $action ) { -
src/wp-admin/upload.php
63 63 64 64 get_current_screen()->set_help_sidebar( 65 65 '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . 66 '<p>' . __( '<a href="https://codex.wordpress.org/Media_Library_Screen" target="_blank">Documentation on Media Library</a>' ) . '</p>' .67 '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>'66 '<p>' . __( '<a href="https://codex.wordpress.org/Media_Library_Screen">Documentation on Media Library</a>' ) . '</p>' . 67 '<p>' . __( '<a href="https://wordpress.org/support/">Support Forums</a>' ) . '</p>' 68 68 ); 69 69 70 70 $title = __('Media Library'); … … 218 218 219 219 get_current_screen()->set_help_sidebar( 220 220 '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . 221 '<p>' . __( '<a href="https://codex.wordpress.org/Media_Library_Screen" target="_blank">Documentation on Media Library</a>' ) . '</p>' .222 '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>'221 '<p>' . __( '<a href="https://codex.wordpress.org/Media_Library_Screen">Documentation on Media Library</a>' ) . '</p>' . 222 '<p>' . __( '<a href="https://wordpress.org/support/">Support Forums</a>' ) . '</p>' 223 223 ); 224 224 225 225 get_current_screen()->set_screen_reader_content( array(