Some Quick Bug Fixes
-
Here are 2 quick bug fixes which currently throw up errors if using WP > 4.3 and BP > 1.9
WP_Widget is depreciated:
voter_widgets_shorcodes.php: Line 23
Replace
$this->WP_Widget('aheadzen_voter','Top Listings Voter Plugin', $widget_ops);
with
$this->__construct('aheadzen_voter','Top Listings Voter Plugin', $widget_ops);
bp_core_add_notification is depreciated
Line 249 Replace
if(!get_option('aheadzen_voter_disable_notification') && function_exists('bp_core_add_notification')){
with
if(!get_option('aheadzen_voter_disable_notification') && function_exists('bp_notifications_add_notification')){
Line 251 Replace
bp_core_add_notification($_REQUEST['secondary_item_id'], $post_author, 'votes', $action_str,$_REQUEST['item_id']);
with
bp_notifications_add_notification($_REQUEST['secondary_item_id'], $post_author, 'votes', $action_str,$_REQUEST['item_id']);
- The topic ‘Some Quick Bug Fixes’ is closed to new replies.