Skip to:
Content

Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#973 closed defect (fixed)

/bb-admin/view-ip.php does not work

Reported by: chrishajer Owned by:
Milestone: 1.0 Priority: low
Severity: minor Version: 1.0-alpha-1
Component: Administration Keywords: view-ip.php
Cc:

Description

Accessing bb-admin/view-ip.php gives you a page with no data. It looks like this is still broken in the latest trunk:

http://trac.bbpress.org/browser/trunk/bb-admin/view-ip.php#L11

I think that query should be 'poster_ip' instead of 'ip'. When I make that change locally, it works.

$post_query = new BB_Query( 'post', array( 'ip' => $ip, 'per_page' => 30 ) );

becomes

$post_query = new BB_Query( 'post', array( 'poster_ip' => $ip, 'per_page' => 30 ) );

See relevant discussion here:
http://bbpress.org/forums/topic/viewing-user-ips

Attachments (1)

bb-admin-view-ip.php.patch (425 bytes) - added by chrishajer 6 years ago.
proposed patch

Download all attachments as: .zip

Change History (5)

chrishajer6 years ago

proposed patch

comment:1 sambauers6 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [1782]) Fix "IP information" admin page query. Fixes #973 - props chrishajer

comment:2 sambauers6 years ago

  • Milestone set to 1.0-beta & XML-RPC

comment:3 anonymous5 years ago

  • Milestone 1.0-beta deleted

Milestone 1.0-beta deleted

comment:4 sambauers5 years ago

  • Milestone set to 1.0
Note: See TracTickets for help on using tickets.