Make WordPress Core

Changeset 49715


Ignore:
Timestamp:
11/30/2020 05:30:02 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Help/About: Update URLs in About page.

Replace the placeholder links now that the posts have been published. This also updates the jQuery plugin links to to local-site links, if the user can install plugins.

Follow-up to [49640].

Props mukesh27, ocean90.
Reviewed by ryelle, SergeyBiryukov.
Merges [49702] to the 5.6 branch.
See #51415.

Location:
branches/5.6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.6

  • branches/5.6/src/wp-admin/about.php

    r49687 r49715  
    172172                        /* translators: %s: Accessibility statement feature plugin link. */
    173173                        __( 'Even if you’re not an expert, you can start letting folks know about your site’s commitment to accessibility at the click of a button! The new <a href="%s">feature plugin</a> includes template copy for you to update and publish, and it’s written to support different contexts and jurisdictions.' ),
    174                         '#'
     174                        'https://github.com/10degrees/accessibility-statement-plugin'
    175175                    );
    176176                    ?>
     
    193193            <div class="column">
    194194                <h3><?php _e( 'More PHP 8 support' ); ?></h3>
    195                 <p><?php _e( '5.6 marks the first steps toward WordPress Core support for PHP 8. Now is a great time to start planning how your WordPress products, services and sites can support the latest PHP version. For more information about what to expect next, [link text].' ); ?></p>
     195                <p>
     196                    <?php
     197                    printf(
     198                        /* translators: %s: WordPress and PHP 8 dev note link. */
     199                        __( '5.6 marks the first steps toward WordPress Core support for PHP 8. Now is a great time to start planning how your WordPress products, services and sites can support the latest PHP version. For more information about what to expect next, <a href="%s">read the PHP 8 developer note</a>.' ),
     200                        'https://make.wordpress.org/core/2020/11/23/wordpress-and-php-8-0/'
     201                    );
     202                    ?>
     203                </p>
    196204            </div>
    197205        </div>
     
    204212                        /* translators: %s: jQuery update test plugin link. */
    205213                        __( 'Updates to jQuery in WordPress take place across three releases: 5.5, 5.6, and 5.7. As we reach the mid-point of this process, run the <a href="%s">update test plugin</a> to check your sites for errors ahead of time.' ),
    206                         'https://wordpress.org/plugins/wp-jquery-update-test/'
     214                        current_user_can( 'install_plugins' ) ?
     215                            esc_url( network_admin_url( 'plugin-install.php?tab=search&type=term&s=slug:wp-jquery-update-test' ) ) :
     216                            esc_url( __( 'https://wordpress.org/plugins/wp-jquery-update-test/' ) )
    207217                    );
    208218                    ?>
     
    213223                        /* translators: %s: jQuery migrate plugin link. */
    214224                        __( 'If you find issues with the way your site looks (e.g. a slider doesn’t work, a button is stuck — that sort of thing), install the <a href="%s">jQuery Migrate plugin.</a>' ),
    215                         'https://wordpress.org/plugins/enable-jquery-migrate-helper/ '
     225                        current_user_can( 'install_plugins' ) ?
     226                            esc_url( network_admin_url( 'plugin-install.php?tab=search&type=term&s=slug:enable-jquery-migrate-helper' ) ) :
     227                            esc_url( __( 'https://wordpress.org/plugins/enable-jquery-migrate-helper/' ) )
    216228                    );
    217229                    ?>
     
    230242                        /* translators: %s: WordPress 5.6 Field Guide link. */
    231243                        __( 'Check out the latest version of the WordPress Field Guide. It highlights developer notes for each change you may want to be aware of. <a href="%s">WordPress 5.6 Field Guide.</a>' ),
    232                         '#'
     244                        'https://make.wordpress.org/core/2020/11/20/wordpress-5-6-field-guide/'
    233245                    );
    234246                    ?>
Note: See TracChangeset for help on using the changeset viewer.