at my wordpress installation with a custom plugin I have a really strange bug relating to simple facebook connect. My plugin uses
for adding some custom content based on some keywords and replacers. It works fine - if I dont use SFC.
If I do so modfy_content() is called several times - depending on the sub modules of SMF which are active. SFC base has no effect, SMF Like Button has one. The additional run of modify_content() is in my header just after my styles and short before the title tag. Its the place where SFC adds open graph meta tags if it needs them.
Because modify_content sends mails, makes database entries etc its bad that its called several times. So my question is - how can I prevent this? Is it a bug of SFC? I don't think so, because eg contact form 7 does not have this problem. So what did I wrong? And what has this to do with SFC?
Thanks for any help!