Changeset 7915 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/camptix-badge-generator/views/html-badges/template-badges.php
- Timestamp:
- 11/29/2018 03:19:31 AM (6 years ago)
- 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 4 4 use WP_Post; 5 5 6 defined( 'WPINC' ) ordie();6 defined( 'WPINC' ) || die(); 7 7 8 8 /** … … 16 16 * function, so that we get a nice, clean, local scope. 17 17 */ 18 if ( isset( $template ) && __FILE__ == $template ) {18 if ( isset( $template ) && __FILE__ === $template ) { 19 19 render_badges_template(); 20 20 return; … … 25 25 26 26 <head> 27 <title><?php _e( 'CampTix HTML Badges', 'wordcamporg' ); ?></title>27 <title><?php esc_html_e( 'CampTix HTML Badges', 'wordcamporg' ); ?></title> 28 28 <meta charset="<?php bloginfo( 'charset' ); ?>"> 29 29 <?php wp_head(); ?> … … 35 35 if ( empty( $attendees ) ) : 36 36 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' ); 38 38 39 39 else :
Note: See TracChangeset
for help on using the changeset viewer.