Making WordPress.org


Ignore:
Timestamp:
11/29/2018 03:19:31 AM (6 years ago)
Author:
iandunn
Message:

CampTix Badge Generator: Apply coding standards.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/camptix-badge-generator/views/html-badges/template-badges.php

    r6768 r7915  
    44use WP_Post;
    55
    6 defined( 'WPINC' ) or die();
     6defined( 'WPINC' ) || die();
    77
    88/**
     
    1616 * function, so that we get a nice, clean, local scope.
    1717 */
    18 if ( isset( $template ) && __FILE__ == $template ) {
     18if ( isset( $template ) && __FILE__ === $template ) {
    1919    render_badges_template();
    2020    return;
     
    2525
    2626<head>
    27     <title><?php _e( 'CampTix HTML Badges', 'wordcamporg' ); ?></title>
     27    <title><?php esc_html_e( 'CampTix HTML Badges', 'wordcamporg' ); ?></title>
    2828    <meta charset="<?php bloginfo( 'charset' ); ?>">
    2929    <?php wp_head(); ?>
     
    3535    if ( empty( $attendees ) ) :
    3636
    37         _e( 'No attendees were found. Please try again once tickets have been purchased.', 'wordcamporg' );
     37        esc_html_e( 'No attendees were found. Please try again once tickets have been purchased.', 'wordcamporg' );
    3838
    3939    else :
Note: See TracChangeset for help on using the changeset viewer.