Making WordPress.org

Changeset 3738


Ignore:
Timestamp:
07/29/2016 10:35:45 AM (9 years ago)
Author:
ocean90
Message:

Support, Topic Resolution: Add missing text domain and use esc_html_e().

Also use the correct value for the for attribute of the labels.

See #1544.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-topic-resolution/inc/class-plugin.php

    r3703 r3738  
    101101        }
    102102        ?>
    103         <p><label for="<?php echo esc_attr( self::META_KEY ); ?>"><?php echo esc_html( __( 'This topic is', 'wporg' ) ); ?></label><br />
     103        <p><label for="topic-resolved"><?php esc_html_e( 'This topic is', 'wporg' ); ?></label><br />
    104104
    105105        <select name="<?php echo esc_attr( self::META_KEY ); ?>" id="topic-resolved">
     
    129129        }
    130130        ?>
    131         <p><label for="<?php echo esc_attr( self::META_KEY ); ?>"><input type="checkbox" name="<?php echo esc_attr( self::META_KEY ); ?>" id="topic-resolved" value="mu"> <?php echo esc_html( __( 'This topic is not a support question' ) ); ?></label></p>
     131        <p><label for="topic-resolved"><input type="checkbox" name="<?php echo esc_attr( self::META_KEY ); ?>" id="topic-resolved" value="mu"> <?php esc_html_e( 'This topic is not a support question', 'wporg' ); ?></label></p>
    132132        <?php
    133133    }
Note: See TracChangeset for help on using the changeset viewer.