Make WordPress Core

Changeset 51120


Ignore:
Timestamp:
06/08/2021 10:54:59 PM (5 years ago)
Author:
desrosj
Message:

Coding Standards: Use single quotes when there are no variables within the string.

Follow up to [51117].

See #48743.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/dashboard.php

    r51119 r51120  
    16721672        if ( $response ) {
    16731673                if ( $is_IE ) {
    1674                         $msg = __( "Internet Explorer does not give you the best WordPress experience. Switch to Microsoft Edge, or another more modern browser to get the most from your site." );
     1674                        $msg = __( 'Internet Explorer does not give you the best WordPress experience. Switch to Microsoft Edge, or another more modern browser to get the most from your site.' );
    16751675                } elseif ( $response['insecure'] ) {
    16761676                        $msg = sprintf(
     
    16911691                        $img_src = ( is_ssl() && ! empty( $response['img_src_ssl'] ) ) ? $response['img_src_ssl'] : $response['img_src'];
    16921692
    1693                         $notice .= '<div class="alignright browser-icon"><img src="' . esc_attr( $img_src ) . '" alt="" /></div>';
     1693                        $notice           .= '<div class="alignright browser-icon"><img src="' . esc_attr( $img_src ) . '" alt="" /></div>';
    16941694                        $browser_nag_class = ' has-browser-icon';
    16951695                }
Note: See TracChangeset for help on using the changeset viewer.