Skip to content

Commit a305b70

Browse files
🔃 [EngCom] Public Pull Requests - 2.2-develop
Accepted Public Pull Requests: - #11554: Improve attribute checking (by @FreekVandeursen) - #16644: Removed double occurrences from Magento modules. (by @sanganinamrata) - #16645: Updated Magento_Newsletter's block file. (by @sanganinamrata) - #16590: Fix of invalid price for integer currencies when amount less than group size (by @vkublytskyi) - #16540: Fix zero price simple failed to resolve as default (by @torreytsui) - #16691: Added 'title' attribute to 'img' tag in knockout template files. (by @sanganinamrata) - #16690: Added translation function for Magento_Braintree module's template file. (by @sanganinamrata) - #16689: Added 'title' attribute to 'a' link. (by @sanganinamrata) - #16678: Improved code and remove unnecessary space (by @ronak2ram) - #16530: Fixed widget template rendering issue while rewriting widget block. (by @sanganinamrata) - #16559: fix icon color variable naming (by @Karlasa) - #16711: Fixed typo in SynonymGroupRepositoryInterface (by @AnshuMishra17) - #16271: Covered Magento\Checkout\Model\Cart\CollectQuote by Unit Test (by @eduard13) - #16675: Prevent running SQL query on every item in the database when the quote is empty (by @LordZardeck) - #16669: Prevent servers being slammed from many search suggestion requests (by @LordZardeck) - #16646: Corrected Magento_Framework's test xml file. (by @sanganinamrata) - #16626: [Backport] Fix type hints and add undefined property in Webapi [2.3-develop] (by @mageprince) - #16584: [Backport] Remove the timezone from the date when retrieving the current month from a UTC timestamp. (by @mageprince) Fixed GitHub Issues: - #11717: Wrong price amount on product page (reported by @HirokazuNishi) has been fixed in #16590 by @vkublytskyi in 2.2-develop branch Related commits: 1. e1db595 - #16529: Rewriting product listing widget block breaks its template rendering. (reported by @sanganinamrata) has been fixed in #16530 by @sanganinamrata in 2.2-develop branch Related commits: 1. 83e3818 2. 7e173ee - #15940: Wrong end of month at Reports for Europe/Berlin time zone if month contains 31 day (reported by @Stepa4man) has been fixed in #16584 by @mageprince in 2.2-develop branch Related commits: 1. e233d6c
2 parents b4c23c4 + 95b0685 commit a305b70

File tree

51 files changed

+369
-90
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+369
-90
lines changed

app/code/Magento/Backend/view/adminhtml/templates/page/header.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<?= /* @escapeNotVerified */ $edition ?>
1818
class="logo">
1919
<img class="logo-img" src="<?= /* @escapeNotVerified */ $block->getViewFileUrl($logoSrc) ?>"
20-
alt="<?= $block->escapeHtml(__('Magento Admin Panel')) ?>"/>
20+
alt="<?= $block->escapeHtml(__('Magento Admin Panel')) ?>" title="<?= $block->escapeHtml(__('Magento Admin Panel')) ?>"/>
2121
</a>
2222
<?php break; ?>
2323
<?php case 'user': ?>

app/code/Magento/Backend/view/adminhtml/templates/widget/form/element/gallery.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<?php foreach ($block->getValues()->getAttributeBackend()->getImageTypes() as $type): ?>
3535
<td class="gallery" align="center" style="vertical-align:bottom;">
3636
<a href="<?= /* @escapeNotVerified */ $image->setType($type)->getSourceUrl() ?>" target="_blank" onclick="imagePreview('<?= $block->getElement()->getHtmlId() ?>_image_<?= /* @escapeNotVerified */ $type ?>_<?= /* @escapeNotVerified */ $image->getValueId() ?>');return false;">
37-
<img id="<?= $block->getElement()->getHtmlId() ?>_image_<?= /* @escapeNotVerified */ $type ?>_<?= /* @escapeNotVerified */ $image->getValueId() ?>" src="<?= /* @escapeNotVerified */ $image->setType($type)->getSourceUrl() ?>?<?= /* @escapeNotVerified */ time() ?>" alt="<?= /* @escapeNotVerified */ $image->getValue() ?>" height="25" class="small-image-preview v-middle"/></a><br/>
37+
<img id="<?= $block->getElement()->getHtmlId() ?>_image_<?= /* @escapeNotVerified */ $type ?>_<?= /* @escapeNotVerified */ $image->getValueId() ?>" src="<?= /* @escapeNotVerified */ $image->setType($type)->getSourceUrl() ?>?<?= /* @escapeNotVerified */ time() ?>" alt="<?= /* @escapeNotVerified */ $image->getValue() ?>" title="<?= /* @escapeNotVerified */ $image->getValue() ?>" height="25" class="small-image-preview v-middle"/></a><br/>
3838
<input type="file" name="<?= /* @escapeNotVerified */ $block->getElement()->getName() ?>_<?= /* @escapeNotVerified */ $type ?>[<?= /* @escapeNotVerified */ $image->getValueId() ?>]" size="1"></td>
3939
<?php endforeach; ?>
4040
<td class="gallery" align="center" style="vertical-align:bottom;"><input type="input" name="<?= /* @escapeNotVerified */ $block->getElement()->getParentName() ?>[position][<?= /* @escapeNotVerified */ $image->getValueId() ?>]" value="<?= /* @escapeNotVerified */ $image->getPosition() ?>" id="<?= $block->getElement()->getHtmlId() ?>_position_<?= /* @escapeNotVerified */ $image->getValueId() ?>" size="3"/></td>

app/code/Magento/Braintree/view/frontend/templates/paypal/button.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ $config = [
2929
class="action-braintree-paypal-logo" disabled>
3030
<img class="braintree-paypal-button-hidden"
3131
src="https://checkout.paypal.com/pwpp/2.17.6/images/pay-with-paypal.png"
32-
alt="Pay with PayPal"/>
32+
alt="<?= $block->escapeHtml(__('Pay with PayPal')) ?>"
33+
title="<?= $block->escapeHtml(__('Pay with PayPal')) ?>"/>
3334
</button>
3435
</div>

app/code/Magento/Braintree/view/frontend/web/template/payment/paypal.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
data-bind="attr: {'id': getCode()}, value: getCode(), checked: isChecked, click: selectPaymentMethod, visible: isRadioButtonVisible()" />
1313
<label class="label" data-bind="attr: {'for': getCode()}">
1414
<!-- PayPal Logo -->
15-
<img data-bind="attr: {src: getPaymentAcceptanceMarkSrc(), alt: $t('Acceptance Mark')}"
15+
<img data-bind="attr: {src: getPaymentAcceptanceMarkSrc(), alt: $t('Acceptance Mark')}, title: $t('Acceptance Mark')}"
1616
class="payment-icon"/>
1717
<!-- PayPal Logo -->
1818
<span text="getTitle()"></span>

app/code/Magento/Captcha/view/frontend/web/template/checkout/captcha.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<div class="control captcha-image">
1616
<img data-bind="attr: {
1717
alt: $t('Please type the letters and numbers below'),
18+
title: $t('Please type the letters and numbers below'),
1819
height: imageHeight(),
1920
src: getImageSource(),
2021
}"

app/code/Magento/Catalog/Model/Indexer/Category/Product/TableMaintainer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public function getMainTable(int $storeId)
143143
public function createTablesForStore(int $storeId)
144144
{
145145
$mainTableName = $this->getMainTable($storeId);
146-
//Create index table for store based on on main replica table
146+
//Create index table for store based on main replica table
147147
//Using main replica table is necessary for backward capability and TableResolver plugin work
148148
$this->createTable(
149149
$this->getTable(AbstractAction::MAIN_INDEX_TABLE . $this->additionalTableSuffix),

app/code/Magento/Catalog/Model/Layer/Filter/AbstractFilter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ protected function _createItem($label, $value, $count = 0)
241241
}
242242

243243
/**
244-
* Get all product ids from from collection with applied filters
244+
* Get all product ids from collection with applied filters
245245
*
246246
* @return array
247247
*/

app/code/Magento/Catalog/Model/ResourceModel/Product/Option.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ protected function _saveValueTitles(\Magento\Framework\Model\AbstractModel $obje
307307
}
308308

309309
/**
310-
* Get first col from from first row for option table
310+
* Get first col from first row for option table
311311
*
312312
* @param string $tableName
313313
* @param int $optionId

app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Value.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ protected function _saveValueTitles(AbstractModel $object)
300300
}
301301

302302
/**
303-
* Get first col from from first row for option table
303+
* Get first col from first row for option table
304304
*
305305
* @param string $tableName
306306
* @param int $optionId

app/code/Magento/Catalog/Pricing/Price/ConfiguredRegularPrice.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function setItem(ItemInterface $item)
6161
$this->item = $item;
6262
return $this;
6363
}
64-
64+
6565
/**
6666
* Price value of product with configured options
6767
*
@@ -70,8 +70,7 @@ public function setItem(ItemInterface $item)
7070
public function getValue()
7171
{
7272
$basePrice = parent::getValue();
73-
74-
return ($this->item && $basePrice !== false)
73+
return $this->item && $basePrice !== false
7574
? $basePrice + $this->configuredOptions->getItemOptionsValue($basePrice, $this->item)
7675
: $basePrice;
7776
}

0 commit comments

Comments
 (0)