Skip to content

Commit 2580a5e

Browse files
committed
Merge remote-tracking branch 'mainline/2.1-develop' into DEVOPS-2174-2.1
2 parents 4a677a2 + 90839c1 commit 2580a5e

File tree

5 files changed

+31
-12
lines changed

5 files changed

+31
-12
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,19 @@ To suggest documentation improvements, click [here][4].
7474
[3]: <https://github.com/magento/magento2/issues>
7575
[4]: <http://devdocs.magento.com>
7676

77+
<h3>Community Maintainers</h3>
78+
The members of this team have been recognized for their outstanding commitment to maintaining and improving Magento. Magento has granted them permission to accept, merge, and reject pull requests, as well as review issues, and thanks these Community Maintainers for their valuable contributions.
79+
80+
<a href="https://magento.com/magento-contributors#maintainers">
81+
<img src="https://raw.githubusercontent.com/wiki/magento/magento2/images/maintainers.png"/>
82+
</a>
83+
84+
<h3>Top Contributors</h3>
85+
Magento is thankful for any contribution that can improve our code base, documentation or increase test coverage. We always recognize our most active members, as their contributions are the foundation of the Magento Open Source platform.
86+
<a href="https://magento.com/magento-contributors">
87+
<img src="https://raw.githubusercontent.com/wiki/magento/magento2/images/contributors.png"/>
88+
</a>
89+
7790
<h2>Reporting security issues</h2>
7891

7992
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>.

app/code/Magento/Catalog/view/base/templates/product/price/amount/default.phtml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,11 @@
2222
class="price-wrapper <?php /* @escapeNotVerified */ echo $block->getPriceWrapperCss(); ?>">
2323
<?php /* @noEscape */ echo $block->formatCurrency($block->getDisplayValue(), (bool)$block->getIncludeContainer()) ?>
2424
</span>
25-
<?php if ($block->getSchema()): ?>
26-
<span class="_hidden" itemprop="price">
27-
<?php /* @noEscape */ echo $block->getDisplayValue() ?>
28-
</span>
29-
<?php endif; ?>
3025
<?php if ($block->hasAdjustmentsHtml()): ?>
3126
<?php echo $block->getAdjustmentsHtml() ?>
3227
<?php endif; ?>
3328
<?php if ($block->getSchema()): ?>
29+
<meta itemprop="price" content="<?php /* @noEscape */ echo $block->getDisplayValue(); ?>" />
3430
<meta itemprop="priceCurrency" content="<?php /* @escapeNotVerified */ echo $block->getDisplayCurrencyCode()?>" />
3531
<?php endif; ?>
3632
</span>

app/code/Magento/GroupedProduct/view/base/templates/product/price/final_price.phtml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,19 @@ $minProduct = $block->getSaleableItem()
1717
->getMinProduct();
1818

1919
if ($minProduct) {
20+
$finalPrice = $minProduct->getPriceInfo()->getPrice('final_price');
21+
$finalPriceValue = $finalPrice->getAmount();
2022
$amountRender = $block->getRendererPool()
2123
->createAmountRender(
22-
$minProduct->getPriceInfo()->getPrice('final_price')->getAmount(),
24+
$finalPriceValue,
2325
$minProduct,
24-
$minProduct->getPriceInfo()->getPrice('final_price'),
26+
$finalPrice,
2527
['include_container' => true]
2628
);
29+
$currencyCode = $amountRender->getDisplayCurrencyCode();
30+
} else {
31+
$finalPriceValue = 0;
32+
$currencyCode = '';
2733
}
2834
?>
2935
<div class="price-box" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
@@ -32,4 +38,6 @@ if ($minProduct) {
3238
<span class="price-label"><?php /* @escapeNotVerified */ echo __('Starting at')?></span><?php echo $amountRender->toHtml();?>
3339
</p>
3440
<?php endif ?>
41+
<meta itemprop="price" content="<?php /* @noEscape */ echo $finalPriceValue; ?>" />
42+
<meta itemprop="priceCurrency" content="<?php /* @noEscape */ echo $currencyCode; ?>" />
3543
</div>

app/design/frontend/Magento/luma/Magento_Catalog/web/css/source/_module.less

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,6 @@
189189
&:last-child {
190190
margin-bottom: 0;
191191
}
192-
193-
&._hidden {
194-
display: none;
195-
}
196192
}
197193
}
198194
}

lib/internal/Magento/Framework/DB/Adapter/AdapterInterface.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,13 @@ public function insertForce($table, array $bind);
492492
/**
493493
* Updates table rows with specified data based on a WHERE clause.
494494
*
495+
* The $where parameter in this instance can be a single WHERE clause or an array containing a multiple. In all
496+
* instances, a WHERE clause can be a string or an instance of {@see Zend_Db_Expr}. In the event you use an array,
497+
* you may specify the clause as the key and a value to be bound to it as the value. E.g., ['amt > ?' => $amt]
498+
*
499+
* If the $where parameter is an array of multiple clauses, they will be joined by AND, with each clause wrapped in
500+
* parenthesis. If you wish to use an OR, you must give a single clause that is an instance of {@see Zend_Db_Expr}
501+
*
495502
* @param mixed $table The table to update.
496503
* @param array $bind Column-value pairs.
497504
* @param mixed $where UPDATE WHERE clause(s).
@@ -928,7 +935,6 @@ public function getDateExtractSql($date, $unit);
928935
*/
929936
public function getTableName($tableName);
930937

931-
932938
/**
933939
* Build a trigger name based on table name and trigger details
934940
*

0 commit comments

Comments
 (0)