So I have a strange question. A long time ago (year and a half or so) I had one of my folks modify the pay to blog plugin to add some functionality to it (support hours, helpdesk, etc.). We had paypal working, but somehow it broke somewhere along the way. I realize it is probably in our code, but we are having a hard time locating it.
Right now we have narrowed it down to the "update_option" function does not seem to work after "switch_to_blog." We've tested it in a variety of ways, but it just doesn't seem to be working.
So we are running Wordpress 3.3.1
This is where we have it in the code:
global $switched, $wpdb;
update_option( 'blog_expire', $expires );
Here the update_option for $new_blog_id seems to not be working but funny enough, it always works for default blog.
Does anyone have any idea what might be going on or where to look for this? If it is working on the default site, but not the individual sites?
Thanks for any insights you can offer.