Make WordPress Core

Ticket #54741: 54741.4.diff

File 54741.4.diff, 1.0 KB (added by Presskopp, 3 years ago)

patch makes the url translatable and also adjusted it from giving a 'Page Not Found'

  • wp-admin/about.php

     
    286286                                <p>
    287287                                        <?php
    288288                                        printf(
    289                                                 /* translators: %s: WordPress 5.9 Field Guide link. */
    290                                                 __( '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.9 Field Guide.</a>' ),
    291                                                 'https://make.wordpress.org/core/2022/01/10/wordpress-5-9-field-guide/'
     289                                                /* translators: 1: Field Guide link for the WordPress version. 2: WordPress version number. */
     290                          __( '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="%1$s">WordPress %2$s Field Guide.</a>' ),
     291                          __( 'https://make.wordpress.org/core/2022/01/10/wordpress-5-9-field-guide/' ),
     292                          $display_version
    292293                                        );
    293294                                        ?>
    294295                                </p>