Skip to:
Content

bbPress.org


Ignore:
Timestamp:
06/06/2014 03:47:54 AM (12 years ago)
Author:
johnjamesjacoby
Message:

Introduce bbp_sanitize_displayed_user_field() function to handle the sanitizing of displayed user data, and add it to the bbp_get_displayed_user_field filter. Props mazengamal. See #2610 (trunk).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/core/filters.php

    r5179 r5369  
    183183add_filter( 'bbp_get_topic_post_count',     'bbp_number_format', 10 );
    184184
     185// Sanitize displayed user data
     186add_filter( 'bbp_get_displayed_user_field', 'bbp_sanitize_displayed_user_field', 10, 3 );
     187
    185188// Run wp_kses_data on topic/reply content in admin section
    186189if ( is_admin() ) {
Note: See TracChangeset for help on using the changeset viewer.