Make WordPress Core

Ticket #51415: 51415-update-links.3.diff

File 51415-update-links.3.diff, 3.3 KB (added by SergeyBiryukov, 4 years ago)
  • src/wp-admin/about.php

     
    171171                                        printf(
    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                                        ?>
    177177                                </p>
     
    192192                        </div>
    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 dev note</a>.' ),
     200                                                'https://make.wordpress.org/core/2020/11/23/wordpress-and-php-8-0/'
     201                                        );
     202                                        ?>
     203                                </p>
    196204                        </div>
    197205                </div>
    198206                <div class="about__section">
     
    203211                                        printf(
    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                                        ?>
    209219                                </p>
     
    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>.' ),
    215225                                                'https://wordpress.org/plugins/enable-jquery-migrate-helper/ '
     226                                                current_user_can( 'install_plugins' ) ?
     227                                                        esc_url( network_admin_url( 'plugin-install.php?tab=search&type=term&s=slug:enable-jquery-migrate-helper' ) ) :
     228                                                        esc_url( __( 'https://wordpress.org/plugins/enable-jquery-migrate-helper/' ) )
    216229                                        );
    217230                                        ?>
    218231                                </p>
     
    229242                                        printf(
    230243                                                /* translators: %s: WordPress 5.6 Field Guide link. */
    231244                                                __( '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                                                 '#'
     245                                                'https://make.wordpress.org/core/2020/11/20/wordpress-5-6-field-guide/'
    233246                                        );
    234247                                        ?>
    235248                                </p>