Make WordPress Core

Changeset 44420


Ignore:
Timestamp:
01/07/2019 03:34:34 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Plugins: Use newer "Updating PHP" page URL in the notice displayed when a plugin requires a higher PHP version.

Props afragen.
Fixes #43986. See #45686.

Location:
trunk/src/wp-admin/includes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php

    r44264 r44420  
    641641                            __( '<a href="%1$s">Please update WordPress</a>, and then <a href="%2$s">learn more about updating PHP</a>.' ),
    642642                            self_admin_url( 'update-core.php' ),
    643                             esc_url( __( 'https://wordpress.org/support/upgrade-php/' ) )
     643                            esc_url( __( 'https://wordpress.org/support/update-php/' ) )
    644644                        );
    645645                    } else {
     
    647647                            /* translators: %s: "Updating PHP" page URL */
    648648                            __( '<a href="%s">Learn more about updating PHP</a>.' ),
    649                             esc_url( __( 'https://wordpress.org/support/upgrade-php/' ) )
     649                            esc_url( __( 'https://wordpress.org/support/update-php/' ) )
    650650                        );
    651651                    }
     
    664664                        /* translators: %s: "Updating PHP" page URL */
    665665                        __( '<a href="%s">Learn more about updating PHP</a>.' ),
    666                         esc_url( __( 'https://wordpress.org/support/upgrade-php/' ) )
     666                        esc_url( __( 'https://wordpress.org/support/update-php/' ) )
    667667                    );
    668668                }
  • trunk/src/wp-admin/includes/dashboard.php

    r44214 r44420  
    16371637            printf(
    16381638                '<a class="button button-primary" href="%1$s" target="_blank" rel="noopener noreferrer">%2$s <span class="screen-reader-text">%3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a>',
    1639                 esc_url( _x( 'https://wordpress.org/support/upgrade-php/', 'localized PHP upgrade information page' ) ),
     1639                esc_url( _x( 'https://wordpress.org/support/update-php/', 'localized PHP upgrade information page' ) ),
    16401640                __( 'Learn more about updating PHP' ),
    16411641                /* translators: accessibility text */
  • trunk/src/wp-admin/includes/plugin-install.php

    r44297 r44420  
    766766            /* translators: "Updating PHP" page URL */
    767767            __( '<strong>Error:</strong> This plugin <strong>requires a newer version of PHP</strong>, so unfortunately you cannot install it. <a href="%s" target="_blank">Click here to learn more about updating PHP</a>.' ),
    768             esc_url( __( 'https://wordpress.org/support/upgrade-php/' ) )
     768            esc_url( __( 'https://wordpress.org/support/update-php/' ) )
    769769        );
    770770        echo '</p></div>';
Note: See TracChangeset for help on using the changeset viewer.