WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/03/2010 10:18:32 AM (9 years ago)
Author:
nacin
Message:

Add a note about REMOTE_ADDR behind proxies.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment.php

    r15550 r15560  
    12461246 * filter for processing the comment data before the function handles it.
    12471247 *
     1248 * We use REMOTE_ADDR here directly. If you are behind a proxy, you should ensure
     1249 * that it is properly set, such as in wp-config.php, for your environment.
     1250 * See {@link http://core.trac.wordpress.org/ticket/9235}
     1251 *
    12481252 * @since 1.5.0
    12491253 * @uses apply_filters() Calls 'preprocess_comment' hook on $commentdata parameter array before processing
Note: See TracChangeset for help on using the changeset viewer.