updated core to 7.63

This commit is contained in:
2019-01-27 14:26:06 +01:00
parent ccab226e12
commit 31cfa90501
172 changed files with 2256 additions and 624 deletions

View File

@@ -11,7 +11,7 @@ dependencies[] = field_sql_storage
required = TRUE
stylesheets[all][] = theme/field.css
; Information added by Drupal.org packaging script on 2018-04-25
version = "7.59"
; Information added by Drupal.org packaging script on 2019-01-16
version = "7.63"
project = "drupal"
datestamp = "1524673284"
datestamp = "1547681965"

View File

@@ -7,7 +7,7 @@ dependencies[] = field
files[] = field_sql_storage.test
required = TRUE
; Information added by Drupal.org packaging script on 2018-04-25
version = "7.59"
; Information added by Drupal.org packaging script on 2019-01-16
version = "7.63"
project = "drupal"
datestamp = "1524673284"
datestamp = "1547681965"

View File

@@ -7,7 +7,7 @@ dependencies[] = field
dependencies[] = options
files[] = tests/list.test
; Information added by Drupal.org packaging script on 2018-04-25
version = "7.59"
; Information added by Drupal.org packaging script on 2019-01-16
version = "7.63"
project = "drupal"
datestamp = "1524673284"
datestamp = "1547681965"

View File

@@ -61,7 +61,7 @@ function list_update_7001() {
// Additionally, float keys need to be disambiguated ('.5' is '0.5').
if ($field['type'] == 'list_number' && !empty($allowed_values)) {
$keys = array_map(create_function('$a', 'return (string) (float) $a;'), array_keys($allowed_values));
$keys = array_map('_list_update_7001_float_string_cast', array_keys($allowed_values));
$allowed_values = array_combine($keys, array_values($allowed_values));
}
@@ -88,6 +88,13 @@ function list_update_7001() {
}
}
/**
* Helper callback function to cast the array element.
*/
function _list_update_7001_float_string_cast($element) {
return (string) (float) $element;
}
/**
* Helper function for list_update_7001: extract allowed values from a string.
*

View File

@@ -5,7 +5,7 @@ package = Testing
version = VERSION
hidden = TRUE
; Information added by Drupal.org packaging script on 2018-04-25
version = "7.59"
; Information added by Drupal.org packaging script on 2019-01-16
version = "7.63"
project = "drupal"
datestamp = "1524673284"
datestamp = "1547681965"

View File

@@ -6,7 +6,7 @@ core = 7.x
dependencies[] = field
files[] = number.test
; Information added by Drupal.org packaging script on 2018-04-25
version = "7.59"
; Information added by Drupal.org packaging script on 2019-01-16
version = "7.63"
project = "drupal"
datestamp = "1524673284"
datestamp = "1547681965"

View File

@@ -6,7 +6,7 @@ core = 7.x
dependencies[] = field
files[] = options.test
; Information added by Drupal.org packaging script on 2018-04-25
version = "7.59"
; Information added by Drupal.org packaging script on 2019-01-16
version = "7.63"
project = "drupal"
datestamp = "1524673284"
datestamp = "1547681965"

View File

@@ -7,7 +7,7 @@ dependencies[] = field
files[] = text.test
required = TRUE
; Information added by Drupal.org packaging script on 2018-04-25
version = "7.59"
; Information added by Drupal.org packaging script on 2019-01-16
version = "7.63"
project = "drupal"
datestamp = "1524673284"
datestamp = "1547681965"

View File

@@ -6,7 +6,7 @@ files[] = field_test.entity.inc
version = VERSION
hidden = TRUE
; Information added by Drupal.org packaging script on 2018-04-25
version = "7.59"
; Information added by Drupal.org packaging script on 2019-01-16
version = "7.63"
project = "drupal"
datestamp = "1524673284"
datestamp = "1547681965"