security update core+modules

This commit is contained in:
Bachir Soussi Chiadmi
2015-04-26 18:38:56 +02:00
parent 2f45ea820a
commit 7c96373038
1022 changed files with 30319 additions and 11259 deletions

View File

@@ -125,8 +125,16 @@ function date_field_formatter_view($entity_type, $entity, $field, $instance, $la
'attributes' => array(),
'rdf_mapping' => array(),
'add_rdf' => module_exists('rdf'),
'microdata' => array(),
'add_microdata' => module_exists('microdata'),
);
// If the microdata module is enabled, the microdata mapping will have been
// passed in via the entity.
if ($variables['add_microdata'] && isset($entity->microdata[$field['field_name']])) {
$variables['microdata'] = $entity->microdata[$field['field_name']];
}
// If there is an RDf mapping for this date field, pass it down to the theme.
$rdf_mapping = array();
if (!empty($entity->rdf_mapping) && function_exists('rdf_rdfa_attributes')) {