WordPress.org

Make WordPress Core

Ticket #38145: 38145.diff

File 38145.diff, 13.6 KB (added by afercia, 4 years ago)
  • src/wp-admin/edit-form-advanced.php

     
    378378        get_current_screen()->set_help_sidebar(
    379379                        '<p>' . sprintf(__('You can also create posts with the <a href="%s">Press This bookmarklet</a>.'), 'tools.php') . '</p>' .
    380380                        '<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>'
    383383        );
    384384} elseif ( 'page' == $post_type ) {
    385385        $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 &#8220;Parent&#8221; of the other, creating a group of pages.') . '</p>' .
     
    393393
    394394        get_current_screen()->set_help_sidebar(
    395395                        '<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>'
    399399        );
    400400} elseif ( 'attachment' == $post_type ) {
    401401        get_current_screen()->add_help_tab( array(
     
    410410
    411411        get_current_screen()->set_help_sidebar(
    412412        '<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>'
    415415        );
    416416}
    417417
  • src/wp-admin/edit-link-form.php

     
    5757        'content' =>
    5858        '<p>' . __( 'You can add or edit links on this screen by entering information in each of the boxes. Only the link&#8217;s web address and name (the text you want to display on your site as the link) are required fields.' ) . '</p>' .
    5959        '<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&#8217;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>'
    6161) );
    6262
    6363get_current_screen()->set_help_sidebar(
    6464        '<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>'
    6767);
    6868
    6969require_once( ABSPATH . 'wp-admin/admin-header.php' );
  • src/wp-admin/edit-tags.php

     
    299299        $help = '<p><strong>' . __( 'For more information:' ) . '</strong></p>';
    300300
    301301        if ( 'category' == $taxonomy )
    302                 $help .= '<p>' . __( '<a href="https://codex.wordpress.org/Posts_Categories_Screen" target="_blank">Documentation on Categories</a>' ) . '</p>';
     302                $help .= '<p>' . __( '<a href="https://codex.wordpress.org/Posts_Categories_Screen">Documentation on Categories</a>' ) . '</p>';
    303303        elseif ( 'link_category' == $taxonomy )
    304                 $help .= '<p>' . __( '<a href="https://codex.wordpress.org/Links_Link_Categories_Screen" target="_blank">Documentation on Link Categories</a>' ) . '</p>';
     304                $help .= '<p>' . __( '<a href="https://codex.wordpress.org/Links_Link_Categories_Screen">Documentation on Link Categories</a>' ) . '</p>';
    305305        else
    306                 $help .= '<p>' . __( '<a href="https://codex.wordpress.org/Posts_Tags_Screen" target="_blank">Documentation on Tags</a>' ) . '</p>';
     306                $help .= '<p>' . __( '<a href="https://codex.wordpress.org/Posts_Tags_Screen">Documentation on Tags</a>' ) . '</p>';
    307307
    308         $help .= '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>';
     308        $help .= '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>';
    309309
    310310        get_current_screen()->set_help_sidebar( $help );
    311311
  • src/wp-admin/edit.php

     
    173173                         *
    174174                         * @param string $sendback The redirect URL.
    175175                         * @param string $doaction The action being taken.
    176                          * @param array  $post_ids The post IDs to take the action on. 
     176                         * @param array  $post_ids The post IDs to take the action on.
    177177                         */
    178178                        $sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $doaction, $post_ids );
    179179                        break;
     
    236236
    237237        get_current_screen()->set_help_sidebar(
    238238        '<p><strong>' . __('For more information:') . '</strong></p>' .
    239         '<p>' . __('<a href="https://codex.wordpress.org/Posts_Screen" target="_blank">Documentation on Managing Posts</a>') . '</p>' .
    240         '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
     239        '<p>' . __('<a href="https://codex.wordpress.org/Posts_Screen">Documentation on Managing Posts</a>') . '</p>' .
     240        '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
    241241        );
    242242
    243243} elseif ( 'page' == $post_type ) {
     
    257257
    258258        get_current_screen()->set_help_sidebar(
    259259        '<p><strong>' . __('For more information:') . '</strong></p>' .
    260         '<p>' . __('<a href="https://codex.wordpress.org/Pages_Screen" target="_blank">Documentation on Managing Pages</a>') . '</p>' .
    261         '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
     260        '<p>' . __('<a href="https://codex.wordpress.org/Pages_Screen">Documentation on Managing Pages</a>') . '</p>' .
     261        '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
    262262        );
    263263
    264264}
  • src/wp-admin/export.php

     
    5151
    5252get_current_screen()->set_help_sidebar(
    5353        '<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>'
    5656);
    5757
    5858// If the 'download' URL parameter is set, a WXR export file is baked and returned.
  • src/wp-admin/import.php

     
    2626
    2727get_current_screen()->set_help_sidebar(
    2828        '<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>'
    3131);
    3232
    3333if ( current_user_can( 'install_plugins' ) ) {
  • src/wp-admin/index.php

     
    9595
    9696$screen->set_help_sidebar(
    9797        '<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>'
    100100);
    101101
    102102include( ABSPATH . 'wp-admin/admin-header.php' );
  • src/wp-admin/link-manager.php

     
    7474
    7575get_current_screen()->set_help_sidebar(
    7676        '<p><strong>' . __('For more information:') . '</strong></p>' .
    77         '<p>' . __('<a href="https://codex.wordpress.org/Links_Screen" target="_blank">Documentation on Managing Links</a>') . '</p>' .
    78         '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
     77        '<p>' . __('<a href="https://codex.wordpress.org/Links_Screen">Documentation on Managing Links</a>') . '</p>' .
     78        '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
    7979);
    8080
    8181get_current_screen()->set_screen_reader_content( array(
  • src/wp-admin/media-new.php

     
    5353) );
    5454get_current_screen()->set_help_sidebar(
    5555        '<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>'
    5858);
    5959
    6060require_once( ABSPATH . 'wp-admin/admin-header.php' );
  • src/wp-admin/media.php

     
    8080
    8181        get_current_screen()->set_help_sidebar(
    8282        '<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>'
    8585        );
    8686
    8787        require( ABSPATH . 'wp-admin/admin-header.php' );
  • src/wp-admin/nav-menus.php

     
    567567
    568568get_current_screen()->set_help_sidebar(
    569569        '<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>'
    572572);
    573573
    574574// Get the admin header.