[wp-trac] [WordPress Trac] #44470: meta property=“og:image” doesn't register if an image is executed via a shortcode in WP Post and Pages
WordPress Trac
noreply at wordpress.org
Wed Jun 27 13:27:53 UTC 2018
#44470: meta property=“og:image” doesn't register if an image is executed via a
shortcode in WP Post and Pages
--------------------------+------------------------------
Reporter: nlstm | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 4.9.6
Severity: critical | Resolution: invalid
Keywords: dev-feedback | Focuses:
--------------------------+------------------------------
Changes (by webdados):
* status: new => closed
* resolution: => invalid
Comment:
This is NOT a WordPress Core issue. WordPress does NOT output OG tags.
This is related to SEO and Open Graph plugins that, IMHO, shouldn't mess
around with themes shortcodes.
If the themes use shortcodes to display so simple thins as images, and
they want that image to be the open graph image for that post, they should
hook into the available SEO / Open Graph filters and set the correct
image.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44470#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list