Skip to:
Content

Changeset 6740


Ignore:
Timestamp:
11/17/17 20:46:39 (4 weeks ago)
Author:
johnjamesjacoby
Message:

Anonymous: remove sanitize_comment_cookies() call.

This was causing repeated comment cookie sanitization on each subsequent page load.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/users/functions.php

    r6722 r6740  
    6262 */ 
    6363function bbp_current_anonymous_user_data( $key = '' ) { 
    64     echo bbp_get_current_anonymous_user_data( $key ); 
     64    echo esc_attr( bbp_get_current_anonymous_user_data( $key ) ); 
    6565} 
    6666 
     
    8787            'comment_author_url'   => 'comment_author_url', 
    8888        ); 
    89  
    90         // Sanitize core cookies 
    91         sanitize_comment_cookies(); 
    9289 
    9390        // Get the current poster's info from the cookies 
Note: See TracChangeset for help on using the changeset viewer.