Re: Remove User ID from Blog Related Site Wide Activity
Message? To you? I got a friend request from you on testbp.org. Just accepted it. That it?
I see. Ya brain fart on my part. $blog should be $blog_id. Sorry. Also I would put that new line above the $post = get_post($post_id); call. Why make a db call if we aren’t going to do anything if it’s on blog 2?
Of course you could look at the post and see if it’s from ‘admin’ and ignore that. In that case some sort of filter after get_post() would be appropriate.
I gotta slow down and stop doing 10 things at once. The details like $blog/$blog_id sometimes get lost in the shuffle. Programming is all about details. It isn’t good enough to be ‘close’.