http://halfelf.org/2012/google-apps-aint-free/ for example
If there’s one footnote, it shows up three times.
Two and they show up twice each. I thought it was because I was on trunk, but this happens on a clean 3.5 as well.
I am having the same issue. Everything works correctly on the front page, but when you open an individual post, each footnote appears twice. It also confuses the numbering in the body of the text.
Same issue here. Can’t find the work around glancing at the code nor browsing the internet. :$
In the meantime I’ve marked the compatibility between WP 3.5 and SF 0.3 as broken for other developers to know and have told @nacin on twitter to see if we can get a response or a fix from him.
Seems to be connected with JetPack. When I disabled JetPack the duplication went away.
When I re-enabled JetPack, I got a message “Shortcode Embeds could not be activated because it triggered a fatal error. Perhaps there is a conflict with another plugin you have installed?”
So there is some conflict, however the duplication did come back.
I’ll investigate more
Deactivating JetPack Sharing stops the duplication problem. So there is some conflict there.
For now, that’s a workaround for me as the site in question is not yet live.
I’ll investigate the code later.
This is right. Removing Jetpack did the job for me. Will leave it like that for the time being. Hope to have a better solution soon though.
I can see the problem is that the modules in Jetpack that use the opengraph functionality (including the publicize and sharing plugins) are calling get_the_excerpt() which, in turn, calls the_content.
The shortcode routine in the simple footnotes plugin ends up getting called twice populates an array with the footnote info, which then outputs two of everything.
I think this plugin needs to only run it’s processing when inside the loop.
I have a fix that seems to work for me:
In the file simple-footnotes.php, in the function shortcode, round about line 63, immediately after the code:
if ( null === $content ) return;
I added the following:
if ( !in_the_loop() ) return;
Oh man, that works for me too.
- The topic ‘Duplicate entries on WP 3.5’ is closed to new replies.