Make WordPress Core

Ticket #64843: 64843.patch

File 64843.patch, 5.1 KB (added by yasirkhalifa, 5 months ago)

patch file

  • wp-admin/includes/update.php

     
    523523                if ( ! current_user_can( 'update_plugins' ) ) {
    524524                        printf(
    525525                                /* translators: 1: Plugin name, 2: Details URL, 3: Additional link attributes, 4: Version number. */
    526                                 __( 'There is a new version of %1$s available. <a href="%2$s" %3$s>View version %4$s details</a>.' ),
     526                                __( 'There is a new version of <strong>%1$s</strong> available. <a href="%2$s" %3$s>View version %4$s details</a>.' ),
    527527                                $plugin_name,
    528528                                esc_url( $details_url ),
    529529                                sprintf(
     
    536536                } elseif ( empty( $response->package ) ) {
    537537                        printf(
    538538                                /* translators: 1: Plugin name, 2: Details URL, 3: Additional link attributes, 4: Version number. */
    539                                 __( 'There is a new version of %1$s available. <a href="%2$s" %3$s>View version %4$s details</a>. <em>Automatic update is unavailable for this plugin.</em>' ),
     539                                __( 'There is a new version of <strong>%1$s</strong> available. <a href="%2$s" %3$s>View version %4$s details</a>. <em>Automatic update is unavailable for this plugin.</em>' ),
    540540                                $plugin_name,
    541541                                esc_url( $details_url ),
    542542                                sprintf(
     
    550550                        if ( $compatible_php ) {
    551551                                printf(
    552552                                        /* translators: 1: Plugin name, 2: Details URL, 3: Additional link attributes, 4: Version number, 5: Update URL, 6: Additional link attributes. */
    553                                         __( 'There is a new version of %1$s available. <a href="%2$s" %3$s>View version %4$s details</a> or <a href="%5$s" %6$s>update now</a>.' ),
     553                                        __( 'There is a new version of <strong>%1$s</strong> available. <a href="%2$s" %3$s>View version %4$s details</a> or <a href="%5$s" %6$s>update now</a>.' ),
    554554                                        $plugin_name,
    555555                                        esc_url( $details_url ),
    556556                                        sprintf(
     
    569569                        } else {
    570570                                printf(
    571571                                        /* translators: 1: Plugin name, 2: Details URL, 3: Additional link attributes, 4: Version number 5: URL to Update PHP page. */
    572                                         __( 'There is a new version of %1$s available, but it does not work with your version of PHP. <a href="%2$s" %3$s>View version %4$s details</a> or <a href="%5$s">learn more about updating PHP</a>.' ),
     572                                        __( 'There is a new version of <strong>%1$s</strong> available, but it does not work with your version of PHP. <a href="%2$s" %3$s>View version %4$s details</a> or <a href="%5$s">learn more about updating PHP</a>.' ),
    573573                                        $plugin_name,
    574574                                        esc_url( $details_url ),
    575575                                        sprintf(