WordPress.org

Making WordPress.org


Ignore:
Timestamp:
12/18/2017 05:42:35 PM (3 years ago)
Author:
obenland
Message:

Plugins: Conform to WPCS.

File:
1 edited

Legend:

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

    r5352 r6284  
    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-plugins' ), get_home_url() ); ?></p>
     22                <p>
     23                    <?php
     24                    /* translators: URL to home page. */
     25                    printf( wp_kses_post( __( 'Try searching from the field above, or go to the <a href="%s">home page</a>.', 'wporg-plugins' ) ), esc_url( get_home_url() ) );
     26                    ?>
     27                </p>
    2328
    2429                <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 src="<?php echo get_theme_file_uri( '/images/wp-logo-blue.png' ); ?>" class="wp-logo" />
     30                    <img src="<?php echo esc_url( get_theme_file_uri( '/images/wp-logo-blue-trans-blur.png' ) ); ?>" class="wp-logo" />
     31                    <img src="<?php echo esc_url( get_theme_file_uri( '/images/wp-logo-blue.png' ) ); ?>" class="wp-logo" />
    2732                </div>
    2833            </div><!-- .page-content -->
Note: See TracChangeset for help on using the changeset viewer.