WordPress.org

Make WordPress Core

Changeset 49954


Ignore:
Timestamp:
01/10/2021 07:35:45 PM (9 months ago)
Author:
SergeyBiryukov
Message:

Themes: Add missing <p> tags to error message in WP_Theme_Install_List_Table::prepare_items().

Follow-up to [45909], [49953].

See #52254.

File:
1 edited

Legend:

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

    r49220 r49954  
    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( '<p>' . $api->get_error_message() . '</p> <p><a href="#" onclick="document.location.reload(); return false;">' . __( 'Try Again' ) . '</a></p>' );
    152152        }
    153153
Note: See TracChangeset for help on using the changeset viewer.