Yoast SEO 7.4.2

Yoast SEO was updated to version 7.4.2, from version 7.3. Changelog:


  • Fixes automatic image size detection for OpenGraph images. When an image was used that was too large, we wouldn’t output the og:image tag. That is now fixed.
  • Fixes a bug where portrait images where not allowed for the OpenGraph image.


  • Re-adds wpseo_opengraph_image_size filter. This will completely override any automatic size determination our code does. This filter now also applies to all ways an og:image can be determined: In the content, as a featured image or as set in our Facebook image setting.
  • Fixes an unintended backwards incompatible change which caused “Warning: Illegal string offset ‘url’ in”.
  • Fixes an unintended change which caused SVGs to be included in consideration for the og:image tag. SVG images are not allowed by Facebook, so these should never be used in the og:image tag.


  • Adds OpenGraph image dimension-meta tags for more images.
  • Excludes images from being used in OpenGraph meta tags, if the image is larger than 2MB.
  • Adds caching for images found in a post to reduce load.
  • Adds image alt tag to the OpenGraph output, using the meta tag og:image:alt.
  • Adds the is_post_type_viewable WordPress function to improve support for the wpseo_accessible_post_types filters.
  • Fixes a bug where a non-array value causes a fatal error when cron_schedules filter has been executed.
  • Fixes a bug where not all database tables were removed when a subsite was deleted in a multisite environment.
  • Fixes a bug where deleting multiple posts might cause performance issues.
  • Introduces a message, warning about dropping of PHP 5.2 support in an upcoming version.
  • Alters the configuration service text in the Configuration Wizard when a user is already running Yoast SEO Premium. Previously the text contained a reference to getting a bundled copy of Premium, even if the user was already running Premium.