Make WordPress Core

Ticket #44360: wp-admin_root_directory_1_of_2.diff

File wp-admin_root_directory_1_of_2.diff, 24.0 KB (added by webdados, 6 years ago)

First of two patch files for wp-admin/*

  • wp-admin/about.php

    diff --git a/wp-admin/about.php b/wp-admin/about.php
    old mode 100644
    new mode 100755
    index 960cacf9e3..8f9eda7d57
    a b list( $display_version ) = explode( '-', get_bloginfo( 'version' ) ); 
    1818include( ABSPATH . 'wp-admin/admin-header.php' );
    1919?>
    2020        <div class="wrap about-wrap full-width-layout">
     21                <?php /* translators: %s is the WordPress version number */ ?>
    2122                <h1><?php printf( __( 'Welcome to WordPress&nbsp;%s' ), $display_version ); ?></h1>
    2223
     24                <?php /* translators: %s is the WordPress version number */ ?>
    2325                <p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s will smooth your design workflow and keep you safe from coding errors.' ), $display_version ); ?></p>
     26                <?php /* translators: %s is the WordPress version number */ ?>
    2427                <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
    2528
    2629                <h2 class="nav-tab-wrapper wp-clearfix">
    include( ABSPATH . 'wp-admin/admin-header.php' ); 
    185188                        <p>
    186189                        <?php
    187190                        printf(
     191                                /* translators: 1: the Gutenberg plugin page; 2: the Gutenberg github page. */
    188192                                __( 'WordPress is working on a new way to create and control your content and we&#8217;d love to have your help. Interested in being an <a href="%1$s">early tester</a> or getting involved with the Gutenberg project? <a href="%2$s">Contribute on GitHub</a>.' ),
    189193                                __( 'https://wordpress.org/plugins/gutenberg/' ),
    190194                                'https://github.com/WordPress/gutenberg'
  • wp-admin/admin-footer.php

    diff --git a/wp-admin/admin-footer.php b/wp-admin/admin-footer.php
    old mode 100644
    new mode 100755
    index 6014d1767d..1d3a6e82eb
    a b global $hook_suffix; 
    3232        ?>
    3333        <p id="footer-left" class="alignleft">
    3434                <?php
     35                /* translators: %s is a link to the WordPress.org website */
    3536                $text = sprintf( __( 'Thank you for creating with <a href="%s">WordPress</a>.' ), __( 'https://wordpress.org/' ) );
    3637                /**
    3738                 * Filters the "Thank you" text displayed in the admin footer.
  • wp-admin/admin.php

    diff --git a/wp-admin/admin.php b/wp-admin/admin.php
    old mode 100644
    new mode 100755
    index a3dab04d3d..b44ab4deca
    a b if ( isset( $plugin_page ) ) { 
    243243                }
    244244
    245245                if ( ! ( file_exists( WP_PLUGIN_DIR . "/$plugin_page" ) && is_file( WP_PLUGIN_DIR . "/$plugin_page" ) ) && ! ( file_exists( WPMU_PLUGIN_DIR . "/$plugin_page" ) && is_file( WPMU_PLUGIN_DIR . "/$plugin_page" ) ) ) {
     246                        /* translators: %s is the plugin page */
    246247                        wp_die( sprintf( __( 'Cannot load %s.' ), htmlentities( $plugin_page ) ) );
    247248                }
    248249
  • wp-admin/async-upload.php

    diff --git a/wp-admin/async-upload.php b/wp-admin/async-upload.php
    old mode 100644
    new mode 100755
    index cf4670bbb1..1a37eebafe
    a b $id = media_handle_upload( 'async-upload', $post_id ); 
    9191if ( is_wp_error( $id ) ) {
    9292        echo '<div class="error-div error">
    9393        <button type="button" class="dismiss button-link" onclick="jQuery(this).parents(\'div.media-item\').slideUp(200, function(){jQuery(this).remove();});">' . __( 'Dismiss' ) . '</button>
    94         <strong>' . sprintf( __( '&#8220;%s&#8221; has failed to upload.' ), esc_html( $_FILES['async-upload']['name'] ) ) . '</strong><br />' .
     94        <strong>'
     95        /* translators: %s is the file name the failed to upload. */
     96        . sprintf( __( '&#8220;%s&#8221; has failed to upload.' ), esc_html( $_FILES['async-upload']['name'] ) )
     97        . '</strong><br />' .
    9598        esc_html( $id->get_error_message() ) . '</div>';
    9699        exit;
    97100}
  • wp-admin/comment.php

    diff --git a/wp-admin/comment.php b/wp-admin/comment.php
    old mode 100644
    new mode 100755
    index d95ae0ded0..cfcd8ac284
    a b if ( $comment->comment_approved != '0' ) { // if not unapproved 
    202202        <th scope="row"><?php _e( 'Submitted on' ); ?></th>
    203203        <td>
    204204        <?php
    205                 /* translators: 1: comment date, 2: comment time */
    206205                $submitted = sprintf(
     206                        /* translators: 1: comment date, 2: comment time */
    207207                        __( '%1$s at %2$s' ),
    208208                        /* translators: comment date format. See https://secure.php.net/date */
    209209                        get_comment_date( __( 'Y/m/d' ), $comment ),
  • wp-admin/credits.php

    diff --git a/wp-admin/credits.php b/wp-admin/credits.php
    old mode 100644
    new mode 100755
    index 1b9646027f..698cd90c28
    a b include( ABSPATH . 'wp-admin/admin-header.php' ); 
    1818?>
    1919<div class="wrap about-wrap full-width-layout">
    2020
     21<?php /* translators: %s is the WordPress version number */ ?>
    2122<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
    2223
     24<?php /* translators: %s is the WordPress version number */ ?>
    2325<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s will smooth your design workflow and keep you safe from coding errors.' ), $display_version ); ?></p>
    2426
     27<?php /* translators: %s is the WordPress version number */ ?>
    2528<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
    2629
    2730<h2 class="nav-tab-wrapper wp-clearfix">
    $credits = wp_credits(); 
    3841
    3942if ( ! $credits ) {
    4043        echo '<p class="about-description">';
    41         /* translators: 1: https://wordpress.org/about/, 2: https://make.wordpress.org/ */
    4244        printf(
     45                /* translators: 1: https://wordpress.org/about/, 2: https://make.wordpress.org/ */
    4346                __( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals. <a href="%2$s">Get involved in WordPress</a>.' ),
    4447                'https://wordpress.org/about/',
    4548                __( 'https://make.wordpress.org/' )
    return; 
    120123
    121124// These are strings returned by the API that we want to be translatable
    122125__( 'Project Leaders' );
     126/* translators: %s is the WordPress version number */
    123127__( 'Core Contributors to WordPress %s' );
    124128__( 'Noteworthy Contributors' );
    125129__( 'Cofounder, Project Lead' );
  • wp-admin/custom-background.php

    diff --git a/wp-admin/custom-background.php b/wp-admin/custom-background.php
    old mode 100644
    new mode 100755
    index a813897fe9..142f52a19b
    a b class Custom_Background { 
    230230        <p>
    231231                <?php
    232232                printf(
     233                        /* translators: %s is the customizer background image configuration url */
    233234                        __( 'You can now manage and live-preview Custom Backgrounds in the <a href="%1$s">Customizer</a>.' ),
    234235                        admin_url( 'customize.php?autofocus[control]=background_image' )
    235236                );
    class Custom_Background { 
    240241
    241242<?php if ( ! empty( $this->updated ) ) { ?>
    242243<div id="message" class="updated">
     244<?php /* translators: %s is the website home url */ ?>
    243245<p><?php printf( __( 'Background updated. <a href="%s">Visit your site</a> to see how it looks.' ), home_url( '/' ) ); ?></p>
    244246</div>
    245247<?php } ?>
  • wp-admin/custom-header.php

    diff --git a/wp-admin/custom-header.php b/wp-admin/custom-header.php
    old mode 100644
    new mode 100755
    index 2930dada8f..4ef7d97f98
    a b class Custom_Image_Header { 
    118118                                'id'      => 'set-header-text',
    119119                                'title'   => __( 'Header Text' ),
    120120                                'content' =>
     121                                        /* translators: %s is the link to the General Settings page */
    121122                                        '<p>' . sprintf( __( 'For most themes, the header text is your Site Title and Tagline, as defined in the <a href="%1$s">General Settings</a> section.' ), admin_url( 'options-general.php' ) ) . '<p>' .
    122123                                        '<p>' . __( 'In the Header Text section of this page, you can choose whether to display this text or hide it. You can also choose a color for the text by clicking the Select Color button and either typing in a legitimate HTML hex value, e.g. &#8220;#ff0000&#8221; for red, or by choosing a color using the color picker.' ) . '</p>' .
    123124                                        '<p>' . __( 'Don&#8217;t forget to click &#8220;Save Changes&#8221; when you&#8217;re done!' ) . '</p>',
    class Custom_Image_Header { 
    474475        <p>
    475476                <?php
    476477                printf(
     478                        /* translators: %s is the website home url */
    477479                        __( 'You can now manage and live-preview Custom Header in the <a href="%1$s">Customizer</a>.' ),
    478480                        admin_url( 'customize.php?autofocus[control]=header_image' )
    479481                );
    class Custom_Image_Header { 
    484486
    485487<?php if ( ! empty( $this->updated ) ) { ?>
    486488<div id="message" class="updated">
     489<?php /* translators: %s is the website home url */ ?>
    487490<p><?php printf( __( 'Header updated. <a href="%s">Visit your site</a> to see how it looks.' ), home_url( '/' ) ); ?></p>
    488491</div>
    489492<?php } ?>
    class Custom_Image_Header { 
    540543        <p><?php _e( 'You can select an image to be shown at the top of your site by uploading from your computer or choosing from your media library. After selecting an image you will be able to crop it.' ); ?><br />
    541544        <?php
    542545        if ( ! current_theme_supports( 'custom-header', 'flex-height' ) && ! current_theme_supports( 'custom-header', 'flex-width' ) ) {
     546                /* translators: 1: image width in pixels; 2: image height in pixels. */
    543547                printf( __( 'Images of exactly <strong>%1$d &times; %2$d pixels</strong> will be used as-is.' ) . '<br />', get_theme_support( 'custom-header', 'width' ), get_theme_support( 'custom-header', 'height' ) );
    544548        } elseif ( current_theme_supports( 'custom-header', 'flex-height' ) ) {
    545549                if ( ! current_theme_supports( 'custom-header', 'flex-width' ) ) {
    if ( $default_image && get_header_image() != $default_image ) : 
    721725
    722726        echo '<input type="text" name="text-color" id="text-color" value="' . esc_attr( $header_textcolor ) . '"' . $default_color_attr . ' />';
    723727        if ( $default_color ) {
     728                /* translators: %s is the default header text color */
    724729                echo ' <span class="description hide-if-js">' . sprintf( _x( 'Default: %s', 'color' ), esc_html( $default_color ) ) . '</span>';
    725730        }
    726731        ?>
  • wp-admin/customize.php

    diff --git a/wp-admin/customize.php b/wp-admin/customize.php
    old mode 100644
    new mode 100755
    index 2486f90145..3f0c41b819
    a b do_action( 'customize_controls_print_scripts' ); 
    207207                                        <div class="accordion-section-title">
    208208                                                <span class="preview-notice">
    209209                                                <?php
     210                                                        /* translators: %s is the website title */
    210211                                                        echo sprintf( __( 'You are customizing %s' ), '<strong class="panel-title site-title">' . get_bloginfo( 'name', 'display' ) . '</strong>' );
    211212                                                ?>
    212213                                                </span>
  • wp-admin/edit-comments.php

    diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php
    old mode 100644
    new mode 100755
    index 6b82c15fe5..e221c7b998
    a b if ( $post_id ) { 
    146146        $comments_count      = wp_count_comments( $post_id );
    147147        $draft_or_post_title = wp_html_excerpt( _draft_or_post_title( $post_id ), 50, '&hellip;' );
    148148        if ( $comments_count->moderated > 0 ) {
    149                 /* translators: 1: comments count, 2: post title */
    150149                $title = sprintf(
     150                        /* translators: 1: comments count, 2: post title */
    151151                        __( 'Comments (%1$s) on &#8220;%2$s&#8221;' ),
    152152                        number_format_i18n( $comments_count->moderated ),
    153153                        $draft_or_post_title
    154154                );
    155155        } else {
    156                 /* translators: %s: post title */
    157156                $title = sprintf(
     157                        /* translators: %s: post title */
    158158                        __( 'Comments on &#8220;%s&#8221;' ),
    159159                        $draft_or_post_title
    160160                );
    if ( $post_id ) { 
    162162} else {
    163163        $comments_count = wp_count_comments();
    164164        if ( $comments_count->moderated > 0 ) {
    165                 /* translators: %s: comments count */
    166165                $title = sprintf(
     166                        /* translators: %s: comments count */
    167167                        __( 'Comments (%s)' ),
    168168                        number_format_i18n( $comments_count->moderated )
    169169                );
    require_once( ABSPATH . 'wp-admin/admin-header.php' ); 
    219219<h1 class="wp-heading-inline">
    220220<?php
    221221if ( $post_id ) {
    222         /* translators: %s: link to post */
    223222        printf(
     223                /* translators: %s: link to post */
    224224                __( 'Comments on &#8220;%s&#8221;' ),
    225225                sprintf(
    226226                        '<a href="%1$s">%2$s</a>',
    if ( $post_id ) { 
    237237<?php
    238238if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) {
    239239        echo '<span class="subtitle">';
    240         /* translators: %s: search keywords */
    241240        printf(
     241                /* translators: %s: search keywords */
    242242                __( 'Search results for &#8220;%s&#8221;' ),
    243243                wp_html_excerpt( esc_html( wp_unslash( $_REQUEST['s'] ) ), 50, '&hellip;' )
    244244        );
  • wp-admin/edit-form-advanced.php

    diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php
    old mode 100644
    new mode 100755
    index 677e3dfbb0..36adf32bf9
    a b $messages['post'] = array( 
    169169        6  => __( 'Post published.' ) . $view_post_link_html,
    170170        7  => __( 'Post saved.' ),
    171171        8  => __( 'Post submitted.' ) . $preview_post_link_html,
     172        /* translators: %s is the date for which the page is scheduled to be published */
    172173        9  => sprintf( __( 'Post scheduled for: %s.' ), '<strong>' . $scheduled_date . '</strong>' ) . $scheduled_post_link_html,
    173174        10 => __( 'Post draft updated.' ) . $preview_post_link_html,
    174175);
    $messages['page'] = array( 
    183184        6  => __( 'Page published.' ) . $view_page_link_html,
    184185        7  => __( 'Page saved.' ),
    185186        8  => __( 'Page submitted.' ) . $preview_page_link_html,
     187        /* translators: %s is the date for which the page is scheduled to be published */
    186188        9  => sprintf( __( 'Page scheduled for: %s.' ), '<strong>' . $scheduled_date . '</strong>' ) . $scheduled_page_link_html,
    187189        10 => __( 'Page draft updated.' ) . $preview_page_link_html,
    188190);
    $form_extra .= "<input type='hidden' id='post_ID' name='post_ID' value='" . esc 
    227229if ( $autosave && mysql2date( 'U', $autosave->post_modified_gmt, false ) > mysql2date( 'U', $post->post_modified_gmt, false ) ) {
    228230        foreach ( _wp_post_revision_fields( $post ) as $autosave_field => $_autosave_field ) {
    229231                if ( normalize_whitespace( $autosave->$autosave_field ) != normalize_whitespace( $post->$autosave_field ) ) {
     232                        /* translators: %s is the link to check out the autosave of the post */
    230233                        $notice = sprintf( __( 'There is an autosave of this post that is more recent than the version below. <a href="%s">View the autosave</a>' ), get_edit_post_link( $autosave->ID ) );
    231234                        break;
    232235                }
    if ( 'post' == $post_type ) { 
    428431        );
    429432
    430433        get_current_screen()->set_help_sidebar(
     434                /* translators: %s is the Press This bookmarklet link */
    431435                '<p>' . sprintf( __( 'You can also create posts with the <a href="%s">Press This bookmarklet</a>.' ), 'tools.php' ) . '</p>' .
    432436                        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    433437                        '<p>' . __( '<a href="https://codex.wordpress.org/Posts_Add_New_Screen">Documentation on Writing and Editing Posts</a>' ) . '</p>' .
    wp_editor( 
    711715);
    712716?>
    713717<table id="post-status-info"><tbody><tr>
     718        <?php /* translators: %s is the word count number */ ?>
    714719        <td id="wp-word-count" class="hide-if-no-js"><?php printf( __( 'Word count: %s' ), '<span class="word-count">0</span>' ); ?></td>
    715720        <td class="autosave-info">
    716721        <span class="autosave-message">&nbsp;</span>
  • wp-admin/edit-link-form.php

    diff --git a/wp-admin/edit-link-form.php b/wp-admin/edit-link-form.php
    old mode 100644
    new mode 100755
    index d0db1df36a..4b66556cfa
    a b if ( ! defined( 'ABSPATH' ) ) { 
    1212}
    1313
    1414if ( ! empty( $link_id ) ) {
     15        /* translators: %s is the link for the Links manager */
    1516        $heading      = sprintf( __( '<a href="%s">Links</a> / Edit Link' ), 'link-manager.php' );
    1617        $submit_text  = __( 'Update Link' );
    1718        $form_name    = 'editlink';
    1819        $nonce_action = 'update-bookmark_' . $link_id;
    1920} else {
     21        /* translators: %s is the link for the Links manager */
    2022        $heading      = sprintf( __( '<a href="%s">Links</a> / Add New Link' ), 'link-manager.php' );
    2123        $submit_text  = __( 'Add Link' );
    2224        $form_name    = 'addlink';
  • wp-admin/edit-tags.php

    diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php
    old mode 100644
    new mode 100755
    index 2d9ab1dc04..f6cbea013b
    a b if ( current_user_can( $tax->cap->edit_terms ) ) { 
    239239if ( 'category' == $taxonomy || 'link_category' == $taxonomy || 'post_tag' == $taxonomy ) {
    240240        $help = '';
    241241        if ( 'category' == $taxonomy ) {
     242                /* translators: %s is the link to the writing settings page */
    242243                $help = '<p>' . sprintf( __( 'You can use categories to define sections of your site and group related posts. The default category is &#8220;Uncategorized&#8221; until you change it in your <a href="%s">writing settings</a>.' ), 'options-writing.php' ) . '</p>';
    243244        } elseif ( 'link_category' == $taxonomy ) {
    244245                $help = '<p>' . __( 'You can create groups of links by using Link Categories. Link Category names must be unique and Link Categories are separate from the categories you use for posts.' ) . '</p>';
    do_action( "{$taxonomy}_add_form", $taxonomy ); 
    588589        ?>
    589590</p>
    590591<?php if ( current_user_can( 'import' ) ) : ?>
     592<?php /* translators: %s is the link to the category to tag converter tool */ ?>
    591593<p><?php printf( __( 'Categories can be selectively converted to tags using the <a href="%s">category to tag converter</a>.' ), esc_url( $import_link ) ); ?></p>
    592594<?php endif; ?>
    593595</div>
    594596<?php elseif ( 'post_tag' == $taxonomy && current_user_can( 'import' ) ) : ?>
    595597<div class="form-wrap edit-term-notes">
     598<?php /* translators: %s is the link to the tag to category converter tool */ ?>
    596599<p><?php printf( __( 'Tags can be selectively converted to categories using the <a href="%s">tag to category converter</a>.' ), esc_url( $import_link ) ); ?></p>
    597600</div>
    598601<?php
  • wp-admin/edit.php

    diff --git a/wp-admin/edit.php b/wp-admin/edit.php
    old mode 100644
    new mode 100755
    index b1ad058912..edfb324d6d
    a b $bulk_counts = array( 
    306306
    307307$bulk_messages         = array();
    308308$bulk_messages['post'] = array(
     309        /* translators: %s is the number of ºpsts updated */
    309310        'updated'   => _n( '%s post updated.', '%s posts updated.', $bulk_counts['updated'] ),
    310311        'locked'    => ( 1 == $bulk_counts['locked'] ) ? __( '1 post not updated, somebody is editing it.' ) :
     312                                        /* translators: %s is the number of posts not updated */
    311313                                        _n( '%s post not updated, somebody is editing it.', '%s posts not updated, somebody is editing them.', $bulk_counts['locked'] ),
     314        /* translators: %s is the number of posts permanently deleted */
    312315        'deleted'   => _n( '%s post permanently deleted.', '%s posts permanently deleted.', $bulk_counts['deleted'] ),
     316        /* translators: %s is the number of posts  moved to the trash */
    313317        'trashed'   => _n( '%s post moved to the Trash.', '%s posts moved to the Trash.', $bulk_counts['trashed'] ),
     318        /* translators: %s is the number of posts restored from the trash */
    314319        'untrashed' => _n( '%s post restored from the Trash.', '%s posts restored from the Trash.', $bulk_counts['untrashed'] ),
    315320);
    316321$bulk_messages['page'] = array(
     322        /* translators: %s is the number of pages updated */
    317323        'updated'   => _n( '%s page updated.', '%s pages updated.', $bulk_counts['updated'] ),
    318324        'locked'    => ( 1 == $bulk_counts['locked'] ) ? __( '1 page not updated, somebody is editing it.' ) :
     325                                        /* translators: %s is the number of pages not updated */
    319326                                        _n( '%s page not updated, somebody is editing it.', '%s pages not updated, somebody is editing them.', $bulk_counts['locked'] ),
     327        /* translators: %s is the number of pages permanently deleted */
    320328        'deleted'   => _n( '%s page permanently deleted.', '%s pages permanently deleted.', $bulk_counts['deleted'] ),
     329        /* translators: %s is the number of pages  moved to the trash */
    321330        'trashed'   => _n( '%s page moved to the Trash.', '%s pages moved to the Trash.', $bulk_counts['trashed'] ),
     331        /* translators: %s is the number of pages restored from the trash */
    322332        'untrashed' => _n( '%s page restored from the Trash.', '%s pages restored from the Trash.', $bulk_counts['untrashed'] ),
    323333);
    324334
  • wp-admin/freedoms.php

    diff --git a/wp-admin/freedoms.php b/wp-admin/freedoms.php
    old mode 100644
    new mode 100755
    index 110959449d..4f4dfa6448
    a b $is_privacy_notice = isset( $_GET['privacy-notice'] ); 
    2020?>
    2121<div class="wrap about-wrap full-width-layout">
    2222
     23<?php /* translators: %s is the WordPress version number */ ?>
    2324<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
    2425
     26<?php /* translators: %s is the WordPress version number */ ?>
    2527<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s will smooth your design workflow and keep you safe from coding errors.' ), $display_version ); ?></p>
    2628
     29<?php /* translators: %s is the WordPress version number */ ?>
    2730<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
    2831
    2932<h2 class="nav-tab-wrapper wp-clearfix">
    $is_privacy_notice = isset( $_GET['privacy-notice'] ); 
    3841<div class="about-wrap-content">
    3942        <p class="about-description"><?php _e( 'From time to time, your WordPress site may send data to WordPress.org &#8212; including, but not limited to &#8212; the version of WordPress you are using, and a list of installed plugins and themes.' ); ?></p>
    4043
     44        <?php /* translators: %s is the link for the stats page on wordpress.org */ ?>
    4145        <p><?php printf( __( 'This data is used to provide general enhancements to WordPress, which includes helping to protect your site by finding and automatically installing new updates. It is also used to calculate statistics, such as those shown on the <a href="%s">WordPress.org stats page</a>.' ), 'https://wordpress.org/about/stats/' ); ?></p>
    4246
     47        <?php /* translators: %s is the link for the privacy page on wordpress.org */ ?>
    4348        <p><?php printf( __( 'We take privacy and transparency very seriously. To learn more about what data we collect, and how we use it, please visit <a href="%s">WordPress.org/about/privacy</a>.' ), 'https://wordpress.org/about/privacy/' ); ?></p>
    4449</div>
    4550
    4651<?php else : ?>
    4752<div class="about-wrap-content">
     53        <?php /* translators: %s is the link for the license page on wordpress.org */ ?>
    4854        <p class="about-description"><?php printf( __( 'WordPress is Free and open source software, built by a distributed community of mostly volunteer developers from around the world. WordPress comes with some awesome, worldview-changing rights courtesy of its <a href="%s">license</a>, the GPL.' ), 'https://wordpress.org/about/license/' ); ?></p>
    4955
    5056        <ol start="0">
    $is_privacy_notice = isset( $_GET['privacy-notice'] ); 
    5460                <li><p><?php _e( 'You have the freedom to distribute copies of your modified versions to others. By doing this you can give the whole community a chance to benefit from your changes.' ); ?></p></li>
    5561        </ol>
    5662
     63        <?php /* translators: %s is the trademark policy url at wordpressfoundation.org */ ?>
    5764        <p><?php printf( __( 'WordPress grows when people like you tell their friends about it, and the thousands of businesses and services that are built on and around WordPress share that fact with their users. We&#8217;re flattered every time someone spreads the good word, just make sure to <a href="%s">check out our trademark guidelines</a> first.' ), 'https://wordpressfoundation.org/trademark-policy/' ); ?></p>
    5865
    5966        <p>
    $is_privacy_notice = isset( $_GET['privacy-notice'] ); 
    6269        $plugins_url = current_user_can( 'activate_plugins' ) ? admin_url( 'plugins.php' ) : __( 'https://wordpress.org/plugins/' );
    6370        $themes_url  = current_user_can( 'switch_themes' ) ? admin_url( 'themes.php' ) : __( 'https://wordpress.org/themes/' );
    6471
     72        /* translators: 1: the plugins page url; 2: the themes page url; 3: the licence page at wordpress.org */
    6573        printf( __( 'Every plugin and theme in WordPress.org&#8217;s directory is 100%% GPL or a similarly free and compatible license, so you can feel safe finding <a href="%1$s">plugins</a> and <a href="%2$s">themes</a> there. If you get a plugin or theme from another source, make sure to <a href="%3$s">ask them if it&#8217;s GPL</a> first. If they don&#8217;t respect the WordPress license, we don&#8217;t recommend them.' ), $plugins_url, $themes_url, 'https://wordpress.org/about/license/' );
    6674        ?>
    6775        </p>
  • wp-admin/import.php

    diff --git a/wp-admin/import.php b/wp-admin/import.php
    index 48051c940e..74e757a444 100644
    a b if ( empty( $importers ) ) { 
    216216}
    217217
    218218if ( current_user_can( 'install_plugins' ) ) {
     219        /* translators: %s is the link for the plugin directory */
    219220        echo '<p>' . sprintf( __( 'If the importer you need is not listed, <a href="%s">search the plugin directory</a> to see if an importer is available.' ), esc_url( network_admin_url( 'plugin-install.php?tab=search&type=tag&s=importer' ) ) ) . '</p>';
    220221}
    221222?>