Open Graph changelog
By Will Norris, on WordPress.org since 2010. 10,000+ active installs.
27 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.
-
- fixed a PHP warning on author archives combined with a category (#59)
- keep the fediverse:creator of earlier filters (#64)
- detect fallback images for the twitter card independent of their order (#64)
- article:* and profile:* metadata follow og:type, so custom post types no longer get article tags (#64)
- cap og:image after all filters (#64)
- keep the title fallback of untitled posts at five words, independent of excerpt_length (#64)
-
- fixed a fatal error on ClassicPress, which does not ship the HTML API (#50)
-
- simpler image handling: one pass over the post content, catches gallery, media & text and nested block images
- new opengraph_image_sources filter to add or remove image sources
- the property filters get the metadata collected so far as second argument
- twitter card is summary_large_image whenever the post has an image, summary for the fallback images
- use the current page of a multipage post and the <!--more--> teaser for the description (#9)
- fixed merging into an existing prefix attribute
And 4 more notes.
-
- Add a constant to easily change the max number of images to be included in the OpenGraph meta tags.
-
- Fixed a warning
- Improved opengraph_max_images handling
-
- complete rewrite of image handling
- added support for block images
- added parsing of HTML <img> tags
- improved WordPress Coding Standards compliance
-
- optimized readme and updated dependencies
-
- fix fediverse account normalization
-
- support <meta name="fediverse:creator" />
-
- don’t return description for password protected posts
-
- stript tags from title, site-name and description
-
- fixed a typo
-
- fixed attachment issue
- fixed PHP 7.4 issue
-
- basic video support
- basic audio support
-
- show only featured image if available
- prefer header images over site-icon
- use avatar for profile pages
- fallback to description if title is empty
- better twitter card handling
-
- added escaping for the missing attributes
-
- fixed PHP warning issue: https://wordpress.org/support/topic/php-warning-count-parameter-must-be-an-array-or-an-object-that-implements-c/
-
- change og:image to use the full size of image (props @torenord)
-
- fixed article:author property
- added article:modified_time
- added first category as article:section
-
- added “strict mode” setting
- better twitter:card handling
- basic twitter:creator support
- WordPress coding standard
-
- implemented get_the_archive_title and get_the_archive_description (new in WordPress 4.1)
- basic twitter cards support (thanks to elroyjetson)
- replace $post->post_title with get_the_title() (see #17 for details)
-
- fix duplicate opengraph markup when used with jetpack plugin (for real)
-
- include descriptions on tag and category pages
- include profile metadata on author pages
- fix bug with 404 pages include extra og:image values
- general code cleanup (including removal of dependency on global vars)
- fix duplicate opengraph markup when used with jetpack plugin
-
- better default description
- include all images that are attached to a post, so that users can choose which to use when sharing the page. If the post has a post thumbnail, that is still used as the primary image.
-
- add ‘opengraph_prefixes’ filter for defining additional prefixes
- add new basic properties, and remove some old ones. This is a breaking change for anyone that was using the old properties, but they can always be added using the ‘opengraph_metadata’ filter. (see f476552 for details)
- updates to many default values, particularly for individual posts and pages (thanks pfefferle)
- add basic support for array values (see d987eb7)
-
- switch to newer RDFa prefix syntax rather than XML namespaces (props pfefferle)
-
- fix function undefined error when theme doesn’t support post thumbnails