mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 10:02:43 +01:00
Add a note about REMOTE_ADDR behind proxies.
git-svn-id: https://develop.svn.wordpress.org/trunk@15560 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
21dd6b285a
commit
d62e022459
@ -1245,6 +1245,10 @@ function wp_throttle_comment_flood($block, $time_lastcomment, $time_newcomment)
|
||||
* and whether comment is approved by WordPress. Also has 'preprocess_comment'
|
||||
* filter for processing the comment data before the function handles it.
|
||||
*
|
||||
* We use REMOTE_ADDR here directly. If you are behind a proxy, you should ensure
|
||||
* that it is properly set, such as in wp-config.php, for your environment.
|
||||
* See {@link http://core.trac.wordpress.org/ticket/9235}
|
||||
*
|
||||
* @since 1.5.0
|
||||
* @uses apply_filters() Calls 'preprocess_comment' hook on $commentdata parameter array before processing
|
||||
* @uses do_action() Calls 'comment_post' hook on $comment_ID returned from adding the comment and if the comment was approved.
|
||||
|
Loading…
x
Reference in New Issue
Block a user