[wp-trac] [WordPress Trac] #41083: IP with port number triggers warnings in WP_Community_Events

WordPress Trac noreply at wordpress.org
Thu Oct 12 10:55:51 UTC 2017


#41083: IP with port number triggers warnings in WP_Community_Events
--------------------------------------+-----------------------------
 Reporter:  EatonZ                    |       Owner:  iandunn
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  4.9
Component:  Administration            |     Version:  4.8
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  administration
--------------------------------------+-----------------------------

Comment (by birgire):

 In [attachment:41083.5.diff] I was wondering about the case where
 {{{inet_ntop()}}} and {{{inet_pton()}}} are not available.

 If it would be better if the
 {{{WP_Community_Events::get_unsafe_client_ip()}}} method returned
 {{{false}}}, instead of sending out the actual full IP address?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41083#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list