[buddypress-trac] [BuddyPress] #5068: A Notice error is thrown if replying to an activity in Activity Administration
buddypress-trac
noreply at wordpress.org
Sun Jun 23 09:21:18 UTC 2013
#5068: A Notice error is thrown if replying to an activity in Activity
Administration
--------------------------+-----------------------------------
Reporter: imath | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Activity | Version: 1.8-beta
Severity: minor | Keywords: has-patch 2nd-opinion
--------------------------+-----------------------------------
In the administration of the activity, if i ajax reply to an activity,
then it throws a notice error about the Undefined index: hook_suffix in
/wp-admin/includes/screen.php at line 402. The problem seems to be that
the screen argument is not defined in the construct method of
BP_Activity_List_Table.
So i suggest the diff attached to this ticket which also strips the call
to get_current_screen() in the prepare_items() function and replaces
$screen->id by $this->screen->id in the $per_page var.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5068>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list