Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
b5548325
Commit
b5548325
authored
12 years ago
by
Jennifer Hodgdon
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#1884840
by pwolanin: Remove mention of md5 hashes from some code comments
parent
17fbe859
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/includes/ajax.inc
+2
-2
2 additions, 2 deletions
core/includes/ajax.inc
core/lib/Drupal/Core/Ajax/AjaxResponse.php
+2
-2
2 additions, 2 deletions
core/lib/Drupal/Core/Ajax/AjaxResponse.php
with
4 additions
and
4 deletions
core/includes/ajax.inc
+
2
−
2
View file @
b5548325
...
...
@@ -251,8 +251,8 @@ function ajax_render($commands = array()) {
// reliably diffed with array_diff_key(), since the number can change
// due to factors unrelated to the inline content, so for now, we strip
// the inline items from Ajax responses, and can add support for them
// when drupal_add_css() and drupal_add_js() are changed to us
ing md5()
//
or some other hash
of the inline content.
// when drupal_add_css() and drupal_add_js() are changed to us
e a hash
// of the inline content
as the array key
.
foreach
(
$items
[
$type
]
as
$key
=>
$item
)
{
if
(
is_numeric
(
$key
))
{
unset
(
$items
[
$type
][
$key
]);
...
...
This diff is collapsed.
Click to expand it.
core/lib/Drupal/Core/Ajax/AjaxResponse.php
+
2
−
2
View file @
b5548325
...
...
@@ -93,8 +93,8 @@ protected function ajaxRender(Request $request) {
// reliably diffed with array_diff_key(), since the number can change
// due to factors unrelated to the inline content, so for now, we
// strip the inline items from Ajax responses, and can add support for
// them when drupal_add_css() and drupal_add_js() are changed to us
ing
//
md5() or some other
hash of the inline content.
// them when drupal_add_css() and drupal_add_js() are changed to us
e
//
a
hash of the inline content
as the array key
.
foreach
(
$items
[
$type
]
as
$key
=>
$item
)
{
if
(
is_numeric
(
$key
))
{
unset
(
$items
[
$type
][
$key
]);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment