WordPress.org

Make WordPress Core

Changeset 49702


Ignore:
Timestamp:
11/27/2020 05:08:34 PM (5 months ago)
Author:
ryelle
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.
See #51415.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/about.php

    r49685 r49702  
    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.