Disable poll_get_hostname() for Poll Logging Method Do Not Log
-
At function “vote_poll_process” from PHP file “wp-polls.php”, can you modify this function so that for Poll Logging Method using “Do Not Log”, it should not need to call poll_get_hostname() function.
In this function, there is gethostbyaddr() function which causing unnecessary trigger and will affect the performance. Since “Do Not Log” will not restrict user voting submission, can you add a condition checking not to call poll_get_hostname() function ?
thank you.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Disable poll_get_hostname() for Poll Logging Method Do Not Log’ is closed to new replies.