Plugin / Complete Open Graph

Alex MacArthur

Changelog

Changelog

1.0.1

  • Initial public release.

1.0.2

  • Improve documentation.
  • Remove bits of logic that require at least PHP 7.

2.0.0

  • Change cog_open_graph_data filter name to complete_open_graph_all_data.
  • Add complete_open_graph_single_value filter.
  • Add ability to force global values on all pages.
  • Instead of storing global settings in individual option keys, all settings are serialized in the complete_open_graph key, making for a slightly tidier database.

2.1.0

  • Add support for twitter:card (currently only supports “summary”).
  • Add support for twitter:creator.
  • Add support for twitter:site.
  • Add support for og:image:width.
  • Add support for og:image:height.

2.1.1

  • Add proper prefix for Open Graph & Facebook parsing.

2.1.2

  • Strip shortcodes from generated Open Graph content.

2.1.3

  • Fix incorrectly rendered tags for fb:app_id and fb:admins.

2.1.4

  • Fix bug producing errors when $post object is not set (like 404 pages).

3.0.0

  • Display default data on pages where post object is not set (like 404 pages).
  • Fix bug preventing image size tags from being rendered.
  • Strip style and script tags from generated Open Graph descriptions.
  • Rename complete_open_graph_single_value filter to complete_open_graph_processed_value.
  • Add complete_open_graph_{$tagName} filter to target specific fields.
  • Preserve HTML entities in generated content.
  • Default to large image sizes for images uploaded before plugin was installed.

3.0.1

  • Fix bug which was causing the failure to properly decode all quotation marks.

3.0.2

  • Fix incorrect reference to $GLOBALS superglobal.
  • Fix miscellaneous bugs caused when post object wasn’t set.
  • Fix bug involving specific use of empty() function which is unsupported in older versions of PHP and causing a few errors.
  • Fix bug with generating og:image tags on blog list pages.
  • Make performance improvements to option lookups.

3.0.3

  • Fix warning with using loadHTML() for parsing certain types of content.
  • Correctly add space after line breaks are removed from sentances ending in ? and !.

3.1.0

  • Fix styling issue causing strange layout of COG metabox.
  • Add support for different Twitter card types.

3.1.1

  • Properly encode special characters into HTML entities.

3.1.2

  • Add checks for image existence to avoid potential errors.

3.2.0

  • Respect post/page excerpt when generating Open Graph descriptions.
  • Add feature to force all fallback settings at once.
  • Improve image filtering to prevent potential bugs.

3.2.1

  • Fix bug pulling Open Graph data from first post on any archive page; instead, it falls back to global settings.
  • Slightly improve efficiency of generating Open Graph markup for each page.

3.2.2

  • Uses the get_locale() method instead of hard-coding the value for the og:locale meta tag.

3.2.3

  • Enqueue WP media scripts with better scope and more flexibility.
  • Put CompleteOpenGraph\App into $GLOBALS to allow easier filtering and access within themes and plugins.

3.2.4

  • Fix bug causing console error to be thrown on pages that didn’t have the media-upload script enqueued.

3.2.5

  • Fix bug causing errors when invalid attachment IDs were passed to Open Graph parser.
  • Add version to assets URLs to break bust cache of outdated files.

3.2.6

  • Fix incorrect reference to class property.

3.2.7

  • Set up basic unit testing for improved code reliability.
  • Improve handling of default values and how they’re handled if left empty.

3.3.0

  • Fix errors being thrown in PHP versions under 5.6.
  • Add filter to disable Open Graph tags per page.

3.3.1

  • Improve the logic (and respective efficiency) of determining how image meta tags are generated.

3.4.0

  • Improve code organization under the hood.
  • Display “profile:first_name” and “profile:last_name” meta tags on author pages.

3.4.1

  • Fix constant-related bug for installations using older versions of PHP.

3.4.2

  • Removes use of array_filter that relies on ARRAY_FILTER_USE_KEY constant for greater PHP backwards compatibility.

3.4.3

  • Fixes the generation of the og:type tag, which was not displaying at all.
  • On author archive pages, if author has an avatar image, use that as OG image.

3.4.4

  • Fix sizing issue with uploaded images less than 1200px wide.
  • Require that selected OG images be, at minimum, 200px x 200px.
  • Ensure that OG URLs are never relative.

3.4.5

  • Fixes the attribute used to set up twitter:description tags.
  • If no explicit twitter:description exists on an archive page, use the og:description.

Ratings

5
17 reviews

Rating breakdown

Details Information

Version

3.4.5

First Released

07 Nov, 2016

Total Downloads

38,490

Wordpress Version

3.9 or higher

Tested up to:

5.0.7

Require PHP Version:

5.6 or higher

Tags

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.