[buddypress-trac] [BuddyPress Trac] #9028: BP Core generates "Warning: Undefined array key "REMOTE_ADDR"" when run in WP Playground environment

buddypress-trac noreply at wordpress.org
Wed Nov 22 20:42:59 UTC 2023


#9028: BP Core generates "Warning: Undefined array key "REMOTE_ADDR"" when run in
WP Playground environment
--------------------------+---------------------
 Reporter:  slaFFik       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  12.0.0
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by prbot):

 * keywords:  needs-patch => has-patch


Comment:

 ''This ticket was mentioned in
 [https://github.com/buddypress/buddypress/pull/195 PR #195] on
 [https://github.com/buddypress/buddypress/ buddypress/buddypress] by
 [https://profiles.wordpress.org/imath/ @imath].''
 Avoid a PHP warning in `bp_core_current_user_ip()`

 Trac ticket: https://buddypress.trac.wordpress.org/ticket/9028

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9028#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list