Skip to content

Commit b6cdc45

Browse files
author
Yevhen Miroshnychenko
committed
Merge branch '2.1-develop' into MAGETWO-93265
2 parents 383a970 + 92044eb commit b6cdc45

File tree

5 files changed

+15
-3
lines changed

5 files changed

+15
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Magento is thankful for any contribution that can improve our code base, documen
8989

9090
<h2>Reporting security issues</h2>
9191

92-
To report security vulnerabilities in Magento software or web sites, please e-mail <a href="mailto:security@magento.com">security@magento.com</a>. Please do not report security issues using GitHub. Be sure to encrypt your e-mail with our <a href="https://info2.magento.com/rs/magentoenterprise/images/security_at_magento.asc">encryption key</a> if it includes sensitive information. Learn more about reporting security issues <a href="https://magento.com/security/reporting-magento-security-issue">here</a>.
92+
To report security vulnerabilities in Magento software or web sites, please create a Bugcrowd researcher account <a href="https://bugcrowd.com/magento">there</a> to submit and follow-up your issue. Learn more about reporting security issues <a href="https://magento.com/security/reporting-magento-security-issue">here</a>.
9393

9494
Stay up-to-date on the latest vulnerabilities and patches for Magento by signing up for <a href="https://magento.com/security/sign-up">Security Alert Notifications</a>.
9595

app/code/Magento/Catalog/Model/Product/Option/Type/Text.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function validateUserValue($values)
8181
*/
8282
public function prepareForCart()
8383
{
84-
if ($this->getIsValid() && strlen($this->getUserValue()) > 0) {
84+
if ($this->getIsValid() && ($this->getUserValue() !== '')) {
8585
return $this->getUserValue();
8686
} else {
8787
return null;

lib/internal/Magento/Framework/Reflection/TypeProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ public function getParamType(ParameterReflection $param)
555555
if ($type == 'array') {
556556
// try to determine class, if it's array of objects
557557
$docBlock = $param->getDeclaringFunction()->getDocBlock();
558-
$pattern = "/\@param\s+([\w\\\_]+\[\])\s+\\\${$param->getName()}\n/";
558+
$pattern = "/\@param\s+([\w\\\_]+\[\])\s+\\\${$param->getName()}[\n\r]/";
559559
$matches = [];
560560
if (preg_match($pattern, $docBlock->getContents(), $matches)) {
561561
return $matches[1];

lib/web/css/source/lib/_navigation.less

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@
9292
.lib-css(padding, @_nav-level0-item-padding);
9393
.lib-css(text-transform, @_nav-level0-text-transform);
9494
word-wrap: break-word;
95+
&:hover {
96+
.lib-css(color, @navigation-level0-item__hover__color);
97+
}
9598
}
9699

97100
&.active {
@@ -139,6 +142,11 @@
139142
.submenu {
140143
> li {
141144
word-wrap: break-word;
145+
> a {
146+
&:hover {
147+
.lib-css(color, @navigation-level0-item__hover__color);
148+
}
149+
}
142150
}
143151

144152
&:not(:first-child) {
@@ -178,6 +186,9 @@
178186
.lib-css(text-decoration, @_submenu-item-text-decoration);
179187
display: block;
180188
line-height: normal;
189+
&:hover {
190+
.lib-css(color, @navigation-level0-item__hover__color);
191+
}
181192
}
182193
}
183194
}

lib/web/css/source/lib/variables/_navigation.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
@navigation-level0-item__active__border-width: 0 0 0 8px;
2929
@navigation-level0-item__active__color: '';
3030
@navigation-level0-item__active__text-decoration: '';
31+
@navigation-level0-item__hover__color: @primary__color;
3132

3233
@submenu__background: '';
3334
@submenu__border: '';

0 commit comments

Comments
 (0)