Comments (3)
This happens when the [bgmp-map]
shortcode callback calls getMapPlacemarks()
, which then calls 'details' => apply_filters( 'the_content', $pp->post_content )`.
do_shortcode()
is a callback for the_content
, and Jetpack's sharing_display()
is also a callback for the_content()
, so it could be related to the nested or conflicting the_content
callbacks.
sharing_display()
returns early to prevent outputting the markup multiple times, which is probably what's happening here.
I'm not sure yet if BGMP is doing something wrong, or if Jetpack is, or if it's just a conflict and neither is at fault. I've run out of time today, though, so I'll have to look at it again some other time.
from jetpack.
I just looked into this briefly and Ian is right, there's some the_content
competition going on.
Since they are using apply_filters('the_content')
to get their map description, our likes, shares, and even related posts are trying to load themselves onto that filter which is applied here: https://cloudup.com/cAprgqRSA27
Of course, a simple fix would be for them to namespace their filter hook to something like bgmp_the_content
, but they would lose formatting.
from jetpack.
Closing this for now because of the lack of activity on this. We can always reopen in the future if needed.
from jetpack.
Related Issues (20)
- Contact Form: make the (YYYY-DD-MM) text on date label optional HOT 2
- Feature Request: Allow only searching title field
- [Boost] Tweak activate and upgrade flows
- Subscription block defaults to logged-in WordPress.com user HOT 10
- stats.wp.com access slow in china HOT 4
- Slideshow Block: Navigation (Dots and Numbers) is left-aligned HOT 1
- Subscriptions: scroll is visible when loading modals HOT 1
- Donations Block: Missing prompt to connect to Stripe when adding block HOT 4
- Unsubscribe links doesn't seem to work HOT 5
- Make the scroll follow the Assistant content generation so the response is always visible on the viewport. HOT 1
- Fix the CSS for the "Sharing Settings" page on Simple sites HOT 2
- Static Analysis: throw error if using a function newly in the latest WP version HOT 1
- WhatsApp Button Block alignment doesn't work HOT 2
- Monetize: Merge Subscriber login button and paid-content Login button
- Enhancement: Speed options Essie on phone screen HOT 1
- Feature Request: Favorites option
- Enhancement:Add WC Category pages to the built-in Jetpack sharing functionality HOT 1
- AI Panel on pre-publish looks awkward (compared to other panels there)
- Pre-publish panel doesnโt show proper messages on tier plans (fixed 20 free string)
- Contact Form / AMP compatibility issues HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jetpack.