Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/27/2013 06:16:35 AM (13 years ago)
Author:
johnjamesjacoby
Message:

In admin, escape output of translated text where appropriate. Also review and refresh existing escaping approaches. See #1999.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/admin/forums.php

    r4909 r4950  
    449449
    450450            case 'bbp_forum_created':
    451                 printf( __( '%1$s <br /> %2$s', 'bbpress' ),
     451                printf( '%1$s <br /> %2$s',
    452452                    get_the_date(),
    453453                    esc_attr( get_the_time() )
     
    459459                $last_active = bbp_get_forum_last_active_time( $forum_id, false );
    460460                if ( !empty( $last_active ) )
    461                     echo $last_active;
     461                    echo esc_html( $last_active );
    462462                else
    463                     _e( 'No Topics', 'bbpress' );
     463                    esc_html_e( 'No Topics', 'bbpress' );
    464464
    465465                break;
Note: See TracChangeset for help on using the changeset viewer.