Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
228
Merge Requests
228
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
121f7ee0
Commit
121f7ee0
authored
Apr 20, 2012
by
jhodgdon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#1540072
by xjm: American spelling for behavior
parent
6251c406
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
core/includes/form.inc
core/includes/form.inc
+1
-1
core/lib/Drupal/Core/Utility/CacheArray.php
core/lib/Drupal/Core/Utility/CacheArray.php
+1
-1
core/modules/filter/filter.module
core/modules/filter/filter.module
+1
-1
core/modules/node/node.module
core/modules/node/node.module
+1
-1
core/modules/system/tests/form.test
core/modules/system/tests/form.test
+2
-2
core/modules/user/user.test
core/modules/user/user.test
+2
-2
No files found.
core/includes/form.inc
View file @
121f7ee0
...
...
@@ -3361,7 +3361,7 @@ function form_process_tableselect($element) {
$value
=
is_array
(
$element
[
'#value'
])
?
$element
[
'#value'
]
:
array
();
}
else
{
// Advanced selection behavio
ur make
no sense for radios.
// Advanced selection behavio
r makes
no sense for radios.
$element
[
'#js_select'
]
=
FALSE
;
}
...
...
core/lib/Drupal/Core/Utility/CacheArray.php
View file @
121f7ee0
...
...
@@ -59,7 +59,7 @@
* means that assigning an offset via arrayAccess will only apply while the
* object is in scope and will not be written back to the persistent cache.
* This follows a similar pattern to static vs. persistent caching in
* procedural code. Extending classes may wish to alter this behavio
u
r, for
* procedural code. Extending classes may wish to alter this behavior, for
* example by overriding offsetSet() and adding an automatic call to persist().
*
* @see SchemaCache
...
...
core/modules/filter/filter.module
View file @
121f7ee0
...
...
@@ -1111,7 +1111,7 @@ function filter_dom_serialize_escape_cdata_element($dom_document, $dom_element,
$embed_suffix
=
"
\n
{
$comment_start
}
--><!]]>
{
$comment_end
}
\n
"
;
// Prevent invalid cdata escaping as this would throw a DOM error.
// This is the same behavio
u
r as found in libxml2.
// This is the same behavior as found in libxml2.
// Related W3C standard: http://www.w3.org/TR/REC-xml/#dt-cdsection
// Fix explanation: http://en.wikipedia.org/wiki/CDATA#Nesting
$data
=
str_replace
(
']]>'
,
']]]]><![CDATA[>'
,
$node
->
data
);
...
...
core/modules/node/node.module
View file @
121f7ee0
...
...
@@ -3094,7 +3094,7 @@ function node_access($op, $node, $account = NULL) {
return
$result
;
}
elseif
(
is_object
(
$node
)
&&
$op
==
'view'
&&
$node
->
status
)
{
// If no modules implement hook_node_grants(), the default behavio
u
r is to
// If no modules implement hook_node_grants(), the default behavior is to
// allow all users to view published nodes, so reflect that here.
$rights
[
$account
->
uid
][
$cid
][
$op
]
=
TRUE
;
return
TRUE
;
...
...
core/modules/system/tests/form.test
View file @
121f7ee0
...
...
@@ -813,12 +813,12 @@ class FormsElementsLabelsTestCase extends DrupalWebTestCase {
$this
->
assertTrue
(
isset
(
$elements
[
0
]),
t
(
"Label 0 found radios."
));
// Exercise various defaults for checkboxes and modifications to ensure
// appropriate override and correct behavio
u
r.
// appropriate override and correct behavior.
$elements
=
$this
->
xpath
(
'//input[@id="edit-form-checkbox-test"]/following-sibling::label[@for="edit-form-checkbox-test" and @class="option"]'
);
$this
->
assertTrue
(
isset
(
$elements
[
0
]),
t
(
"Label follows field and label option class correct for a checkbox by default."
));
// Exercise various defaults for textboxes and modifications to ensure
// appropriate override and correct behavio
u
r.
// appropriate override and correct behavior.
$elements
=
$this
->
xpath
(
'//label[@for="edit-form-textfield-test-title-and-required"]/child::abbr[@class="form-required"]/parent::*/following-sibling::input[@id="edit-form-textfield-test-title-and-required"]'
);
$this
->
assertTrue
(
isset
(
$elements
[
0
]),
t
(
"Label precedes textfield, with required marker inside label."
));
...
...
core/modules/user/user.test
View file @
121f7ee0
...
...
@@ -1670,7 +1670,7 @@ class UserBlocksUnitTests extends DrupalWebTestCase {
}
/**
* Test
case to test user_save() behaviou
r.
* Test
s user_save() behavio
r.
*/
class
UserSaveTestCase
extends
DrupalWebTestCase
{
...
...
@@ -1759,7 +1759,7 @@ class UserCreateTestCase extends DrupalWebTestCase {
}
/**
* Test
case to test user_save() behaviour
.
* Test
s the user edit form
.
*/
class
UserEditTestCase
extends
DrupalWebTestCase
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment