edit_comment hook in bp-blogs/bp-blogs-functions.php causing error
I’m running into an issue with a custom comment editor I created. I’ve tracked the issue to the bp-blogs/bp-blogs-functions.php file where it calls the bp_blogs_record_comment() function. It seems this function is overwriting my updated comments when I use my custom editor and keeping the original comment. I’m not sure what’s going on here but when I comment out the add_action hook for this function, my custom comment editor works like a charm. I’m not sure if this has something to do with some of the other custom BP functions that are called inside of the problem function or what. I’m relatively new to BP so any help is appreciated. For now, I’ve just commented out the add_action hook. Thanks!
- The topic ‘edit_comment hook in bp-blogs/bp-blogs-functions.php causing error’ is closed to new replies.