Hi,
unfortunately still no response from you – the error exists even with the latest update of Jetpack – please take a look into this issue – I´d be glad to help if you have any questions!
thanks
Robert
Hi Robert, I’m confirming that I can reproduce the problem with Leaflet Maps Marker 3.2.4 and the latest Jetpack, and that it goes away when the Publicize module is disabled. I’ll work on a fix.
Hi,
unfortunately, this bug is still not fixed with the latest version – any news when a fix will be available?
thx,
Robert
Robert,
The problem seems to be linked with the way your plugin handles shortcodes.
A similar problem was reported in the NextGen plugin:
http://ww.wp.xz.cn/support/topic/jetpack-204-breaks-nextgen-galleries/page/2?replies=38#post-3675708
You can find details about it in this WP-Hackers thread:
http://lists.automattic.com/pipermail/wp-hackers/2013-January/045053.html
Could you try to update your plugin based on Otto’s recommendations?
Hi Jeremy,
thanks for taking a look into this issue. I studied the posts you linked to and tried to fix it.
Unfortunately with no success :-/
In leaflet-maps-marker.php within the function lmm_frontend_enqueue_stylesheets()
I use
global $wp_query, $wp_version;
$posts = $wp_query->posts;
which from my understanding according to Otto should be the reason for this bug. I also talked to Ian Dunn who reported this problem and also thought that his case seems to be different.
But even if I completely remove this code/css check the js output still gets duplicated. So as there
is no other code/function within my plugin which uses $posts I wonder if this really is the
reason for this bug.
Any help would be really appreciated!
thanks,
Robert
bug got fixed with latest Jetpack release v2.2