| @@ -6,14 +6,17 @@ | ||
| 6 | 6 | * @package bbPress |
| 7 | 7 | * @subpackage Theme |
| 8 | 8 | */ |
| 9 | 9 | |
| 10 | +// Exit if accessed directly | |
| 11 | +defined( 'ABSPATH' ) || exit; | |
| 12 | + | |
| 10 | 13 | ?> |
| 11 | 14 | |
| 12 | -<div id="bbpress-forums"> | |
| 15 | +<div id="bbpress-forums" class="bbpress-wrapper"> | |
| 13 | 16 | <fieldset class="bbp-form" id="bbp-protected"> |
| 14 | - <Legend><?php _e( 'Protected', 'bbpress' ); ?></legend> | |
| 17 | + <Legend><?php esc_html_e( 'Protected', 'bbpress' ); ?></legend> | |
| 15 | 18 | |
| 16 | 19 | <?php echo get_the_password_form(); ?> |
| 17 | 20 | |
| 18 | 21 | </fieldset> |
| 19 | 22 | </div> |