Making WordPress.org


Ignore:
Timestamp:
12/15/2017 12:13:33 AM (7 years ago)
Author:
obenland
Message:

Main: Conform to WPCS.

See #2861.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/404.php

    r6154 r6277  
    2020
    2121            <div class="page-content">
    22                 <p><?php printf( __( 'Try searching from the field above, or go to the <a href="%s">home page</a>.', 'wporg' ), get_home_url() ); ?></p>
     22                <p>
     23                    <?php
     24                    printf(
     25                        /* translators: Home URL. */
     26                        __( 'Try searching from the field above, or go to the <a href="%s">home page</a>.', 'wporg' ), // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
     27                        esc_url( get_home_url() )
     28                    );
     29                    ?>
     30                </p>
    2331
    2432                <div class="logo-swing">
    25                     <img src="<?php echo get_theme_file_uri( '/images/wp-logo-blue-trans-blur.png' ); ?>" class="wp-logo" />
    26                     <img id="hinge" src="<?php echo get_theme_file_uri( '/images/wp-logo-blue.png' ); ?>" class="wp-logo hinge" />
     33                    <img src="<?php echo esc_url( get_theme_file_uri( '/images/wp-logo-blue-trans-blur.png' ) ); ?>" class="wp-logo" />
     34                    <img id="hinge" src="<?php echo esc_url( get_theme_file_uri( '/images/wp-logo-blue.png' ) ); ?>" class="wp-logo hinge" />
    2735                </div>
    2836            </div><!-- .page-content -->
Note: See TracChangeset for help on using the changeset viewer.