Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download metatag-7.x-1.0-beta5.tar.gztar.gz 55.16 KB
MD5: e81833c37343fe28dc56d8bb2f6e186f
SHA-1: 95ee4e5765fc5dc5065d5ab7eb976e0f75dd8fa3
SHA-256: 5d19b92816acea3e5468dce025a8d1f76bd7067c3327c6723c271c36fe801255
Download metatag-7.x-1.0-beta5.zipzip 70.46 KB
MD5: 3025ea8fd52c32a700d61923dcab0dbe
SHA-1: 50bc9360bf3eeb92b6d5ddfe28493eed75526353
SHA-256: 69c0d4cc4a06ed9a36083331457b8f741cf24a83d68ea4a2b9048ae28947d9db

Release notes

This is a major improvement over the previous beta with many fixes. Part of the reason it took so long was to ensure that the fixes were accurate, and hopefully this will put us back on track to having a stable release really soon.

Most important changes:

  • All meta tags should load and save correctly again, I'm really sorry this was broken in beta4 :(
  • Entities now have to have Metatag integration specifically enabled via hook_entity_info, the module will no longer automatically assume all entities need meta tags.
  • Fixed a potential security hazard which could have lead to information disclosure when the PHP module was used and PHP code was used as a node teaser.
  • The icky metatag_update_7004 has been replaced with several smaller updates that should not cause as much headache.
  • Some invalid and empty data will be purged and fixed.
  • Integration for both the Migrate and Feeds modules.
  • Added an admin page to revert all meta tags for a given entity or entity bundle to their defaults.
  • Many fixes and improvements for existing meta tags, e.g. Twitter Card tags should be correct now.
  • Some new meta tags, including original-source, news_keywords.

Because of the extensive list of changes, please test this before deploying it to a production site and immediately open a new issue if a problem is identified.

Once again this has very much been a collaborate effort, I'm very grateful for everyone's help in making this release.

Full changelog:

  • #1844638 by DamienMcKenna: Updated help messages around update 7004, when ran via Drush it will no longer used Batch API.
  • #844764 by Devin Carlson, DamienMcKenna: Fix arg placeholders in t() calls.
  • #846516 by Staratel: Incorrect arguments for watchdog().
  • #846516 by DamienMcKenna: Further incorrect arguments for watchdog().
  • #844638 by DamienMcKenna: Correctly used drupal_is_cli() instead of just php_sapi_name().
  • #846978 by edulterado: Corrected the theme function name used with the Twitter Cards submodule.
  • #307804 by juampy: Support for Select_or_Other for use with the OpenGraph 'type' field.
  • #854522 by DamienMcKenna: Redundant return statements in the MetaTag classes.
  • #852600 by DamienMcKenna: Only use the first page argument in the Views and Panels preprocessors if it is numerical.
  • #850014 by plopesc: Not all contexts that may be shown on the admin page will have a path condition defined.
  • #846080 by DamienMcKenna: Only support entities that have the 'metatags' option specifically enabled.
  • #857116 by DamienMcKenna: Purge {metatag} records for a few known unsupported entities that old versions would have saved.
  • #857116 by DamienMcKenna: Don't purge 'file' {metatag} records until #1857334 is decided.
  • #857360 by DamienMcKenna: Purge {metatag} records for nodes, taxonomy terms and users that were purged but where the APIs of older versions failed to remove them.
  • #857116 by DamienMcKenna: Purge {metatag} records for Profile2.
  • #852600 by helmo: Typo in Views integration function.
  • #852022 by DamienMcKenna: Don't export the {metatag_config}.cid field.
  • #862570 by DamienMcKenna: Purge any empty values that may have been added by very early releases.
  • #862570 by DamienMcKenna: Follow-up to correctly handle the serialized empty array.
  • #864340 by cdoyle, DamienMcKenna: Incorrect output for certain Twitter Card tags.
  • #865170 by DamienMcKenna: Fix metatag_requirements() return array when the Page Title module is also installed.
  • #722564 by DamienMcKenna: Provide a hook_requirements() message and README.txt note about a possible conflict with the Exclude Node Title module.
  • #284756 by damiankloip, sylus, alanburke, lancee: Migrate module integration.
  • #865228 by greggles, DamienMcKenna: Added the rel=author link meta tag.
  • #866122 by DamienMcKenna: Added the twitter:site:id and twitter:creator:id meta tags.
  • #866980 by makangus: Corrected metatag_features_revert().
  • #862818 by DYdave, DamienMcKenna: Added documentation for hook_metatag_config_default().
  • #778534 by DamienMcKenna: Added the original-source meta tag.
  • #886170 by DamienMcKenna: Typo in the API docs regarding enabling metatag support in custom entities.
  • #871020 by DamienMcKenna: Compatibility problem with Workbench_Moderation.
  • #773926 by Dave Reid: Fixed token validation fails on config edit if the instance context is not an entity type.
  • #814736 by plach, Dave Reid: metatag_page_build() did not check if the global:frontpage metatag configuration is disabled.
  • #871852: Fixed metatag_update_7005() did not check if the watchdog table exists.
  • #891082 by bago, Dave Reid: Fixed metatag_config_instance_label() failed to recurse properly.
  • #915284: Fixed metatag_html_head_alter() stopped removing duplicate tags too soon. Fixed duplicate canonical links when global redirect is enabled.
  • #845326 by DamienMcKenna, Peacog: Resolved language handling problems to correctly identify the langcode to properly work with or without Entity_Translation.
  • #876042 by DamienMcKenna: Rename variables to use $entity_id instead of $id and $entity_type instead of $type.
  • #859136 by splatio, DamienMcKenna, multpix: Feeds integration - allow meta tag fields to be the target for data imported using the Feeds module.
  • #880302 by olli, DamienMcKenna: Resolve problems with Features integration.
  • #923030 by krlucas, DamienMcKenna: Only run metatag_entity_update() on supported entities.
  • #844638 by DamienMcKenna, mikeytown2: Remove unnecessary duplicate {metatag} records, fix language values for all entities.
  • #935084 by DamienMcKenna: Remove unnecessary items from metatag_hook_info() that was causing problems with PHP 5.4.
  • #791720 by kbasarab: Added the news_keywords meta tag.
  • #934492 by juampy, DamienMcKenna: Added a page for reverting meta tags for specific entity or bundle.
  • #386320: Note a known issue of using custom template files that do not output the $page['content'] variable.
  • #917902 by DamienMcKenna: Ensure strings returned from token replacement of text fields ([node:summary]) is passed through the appropriate text filters.
  • #919070 by DamienMcKenna: Fix any records that may have been corrupted by e.g. #1871020.
  • #861656 by DamienMcKenna, torrance123: Optionally load the global meta tags on all pages, enabled by default.
  • #871798 by mstrelan: Clear the Context plugin cache when metatag_context is enabled so that the new plugin becomes available.
  • #932192 by DamienMcKenna: Only run metatag_entity_view() once per page view.
  • #900434 by Dustin Currie, j0rd, DamienMcKenna: Added several new OpenGraph meta tags, including ones for videos, location and contact information.
  • #883118 by DamienMcKenna: Improve the help message on Metatag:Context's Path field as neither relative nor absolute URLs will work.
  • #945114 by SergO, DamienMcKenna: A query from #1919070 was missing the preproccess wrapper around the table name.
  • #908586 by DamienMcKenna: Added a line to README.txt explaining how to customize the tokens used to generate the meta tags.
  • #350610 by DamienMcKenna: metatag_update_7001 needed to drop the primary key before customizing it.
  • #859136 by DamienMcKenna: Fixed scenarios when updating an entity there are two copies of the data submitted, e.g. Feeds integration.
  • #308790 by DamienMcKenna: Documented that [current-user] tokens should not be used.
  • #318294 by DamienMcKenna: Documented how to use Imagecache Token to resize images that are being used as tokens for meta tags.
  • #871534 by DamienMcKenna: Documented how some browser plugins can make the page title appear to be wrapped with doublequotes though the output doesn't actually show them.
Created by: DamienMcKenna
Created on: 24 Mar 2013 at 01:29 UTC
Last updated: 2 Aug 2018 at 04:56 UTC
New features
Bug fixes
Insecure

Other releases