Open Graph changelog

By Will Norris, on WordPress.org since 2010. 10,000+ active installs.

Browse code

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.

  1. 3.1.0
    • 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)
    Source Diff vs 3.0.1
  2. 3.0.1
    • fixed a fatal error on ClassicPress, which does not ship the HTML API (#50)
    Source Diff vs 3.0.0
  3. 3.0.0
    • 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.

    Source Diff vs 2.0.2
  4. 2.0.2
    • Add a constant to easily change the max number of images to be included in the OpenGraph meta tags.
    Source Diff vs 2.0.1
  5. 2.0.1
    • Fixed a warning
    • Improved opengraph_max_images handling
    Source Diff vs 2.0.0
  6. 2.0.0
    • complete rewrite of image handling
    • added support for block images
    • added parsing of HTML <img> tags
    • improved WordPress Coding Standards compliance
    Source Diff vs 1.12.2
  7. 1.12.2
    • optimized readme and updated dependencies
    Source Diff vs 1.12.1
  8. 1.12.1
    • fix fediverse account normalization
    Source Diff vs 1.12.0
  9. 1.12.0
    • support <meta name="fediverse:creator" />
    Source Diff vs 1.11.3
  10. 1.11.3
    • don’t return description for password protected posts
    Source Diff vs 1.11.2
  11. 1.11.2
    • stript tags from title, site-name and description
    Source Diff vs 1.11.1
  12. 1.11.1
    • fixed a typo
    Source Diff vs 1.11.0
  13. 1.11.0
    • fixed attachment issue
    • fixed PHP 7.4 issue
    Source Diff vs 1.10.0
  14. 1.10.0
    • basic video support
    • basic audio support
    Source Diff vs 1.9.0
  15. 1.9.0
    • 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
    Source Diff vs 1.8.3
  16. 1.8.3
    • added escaping for the missing attributes
    Source Diff vs 1.8.2
  17. 1.8.2
    • fixed PHP warning issue: https://wordpress.org/support/topic/php-warning-count-parameter-must-be-an-array-or-an-object-that-implements-c/
    Source Diff vs 1.8.1
  18. 1.8.1
    • change og:image to use the full size of image (props @torenord)
    Source Diff vs 1.8.0
  19. 1.8.0
    • fixed article:author property
    • added article:modified_time
    • added first category as article:section
    Source Diff vs 1.7.0
  20. 1.7.0
    • added “strict mode” setting
    • better twitter:card handling
    • basic twitter:creator support
    • WordPress coding standard
    Source Diff vs 1.6
  21. 1.6
    • 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)
    Source Diff vs 1.5.1
  22. 1.5.1
    • fix duplicate opengraph markup when used with jetpack plugin (for real)
    Source Diff vs 1.5
  23. 1.5
    • 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
    Source Diff vs 1.4
  24. 1.4
    • 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.
    Source Diff vs 1.3
  25. 1.3
    • 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)
    Source Diff vs 1.2
  26. 1.2
    • switch to newer RDFa prefix syntax rather than XML namespaces (props pfefferle)
    Source Diff vs 1.1
  27. 1.1
    • fix function undefined error when theme doesn’t support post thumbnails
    Source