WordPress.org

Make WordPress Core

Ticket #47251: 47251.patch

File 47251.patch, 1.4 KB (added by ramiy, 7 months ago)
  • wp-admin/includes/class-wp-theme-install-list-table.php

     
    148148                $api = themes_api( 'query_themes', $args );
    149149
    150150                if ( is_wp_error( $api ) ) {
    151                         wp_die( $api->get_error_message() . '</p> <p><a href="#" onclick="document.location.reload(); return false;">' . __( 'Try again' ) . '</a>' );
     151                        wp_die( $api->get_error_message() . '</p> <p><a href="#" onclick="document.location.reload(); return false;">' . __( 'Try Again' ) . '</a>' );
    152152                }
    153153
    154154                $this->items = $api->themes;
  • wp-admin/setup-config.php

     
    272272                        $install .= '?language=en_US';
    273273                }
    274274
    275                 $tryagain_link = '</p><p class="step"><a href="' . $step_1 . '" onclick="javascript:history.go(-1);return false;" class="button button-large">' . __( 'Try again' ) . '</a>';
     275                $tryagain_link = '</p><p class="step"><a href="' . $step_1 . '" onclick="javascript:history.go(-1);return false;" class="button button-large">' . __( 'Try Again' ) . '</a>';
    276276
    277277                if ( empty( $prefix ) ) {
    278278                        wp_die( __( '<strong>ERROR</strong>: "Table Prefix" must not be empty.' ) . $tryagain_link );