Commit f6e6b4cf authored by Damien McKenna's avatar Damien McKenna
Browse files

Issue #2363591 by DamienMcKenna: Added a default for the 'image' meta tag on user entity pages.

parent 3c8c8b65
Loading
Loading
Loading
Loading
+2 −0
Changes for CHANGELOG.txt: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -9,6 +9,8 @@ Metatag 7.x-1.x-dev, xxxx-xx-xx
#1848338 by larowlan, DamienMcKenna: Added more tests, especially one for
  checking the editorial process on a node.
#2362893 by ipo4ka704: Don't assume the first Panels context is an object.
#2363591 by DamienMcKenna: Added a default for the 'image' meta tag on user
  entity pages.


Metatag 7.x-1.4, 2014-10-09
+3 −0
Changes for metatag.metatag.inc: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -78,6 +78,9 @@ function metatag_metatag_config_default() {
  $config->config = array(
    'title' => array('value' => '[user:name] | [site:name]'),
  );
  if (variable_get('user_pictures')) {
    $config->config['image'] = array('value' => '[user:picture:url]');
  }
  $configs[$config->instance] = $config;

  // Before returning these, allow the bundled submodules to override them, thus