Skip to content

Commit

Permalink
Merge pull request #43 from cloudinary/v1.10.1
Browse files Browse the repository at this point in the history
V1.10.1
  • Loading branch information
Pniel (Pini) Cohen authored Oct 23, 2019
2 parents c586356 + 2ab7ae9 commit 1446635
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Block/Adminhtml/Product/Helper/Form/Gallery/Content.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ public function getCloudinaryMediaLibraryWidgetOptions($multiple = true, $refres
*/
public function escapeHtmlAttr($string, $escapeSingleQuote = true)
{
if (method_exists(get_parent_class($this), 'escapeHtmlAttr')) {
return parent::escapeHtmlAttr($string, $escapeSingleQuote);
if (method_exists($this->_escaper, 'escapeHtmlAttr')) {
return $this->_escaper->escapeHtmlAttr($string, $escapeSingleQuote);
}
if ($escapeSingleQuote) {
$escaper = new \Zend\Escaper\Escaper();
Expand Down
4 changes: 2 additions & 2 deletions Model/Config/Source/Dropdown/ProductGallery/ZoomType.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ public function toOptionArray()
'label' => 'Flyout',
],
[
'value' => 'lightbox',
'label' => 'Lightbox',
'value' => 'popup',
'label' => 'Popup',
],
];
}
Expand Down
2 changes: 1 addition & 1 deletion Model/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public function getCdnSubdomainStatus()
*/
public function getUserPlatform()
{
return sprintf(self::USER_PLATFORM_TEMPLATE, '1.10.0', '2.0.0');
return sprintf(self::USER_PLATFORM_TEMPLATE, '1.10.1', '2.0.0');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "cloudinary/cloudinary-magento2",
"description": "Cloudinary Magento 2 Integration.",
"type": "magento2-module",
"version": "1.10.0",
"version": "1.10.1",
"license": "MIT",
"require": {
"cloudinary/cloudinary_php": "*"
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Cloudinary_Cloudinary" setup_version="1.10.0">
<module name="Cloudinary_Cloudinary" setup_version="1.10.1">
<sequence>
<module name="Magento_ProductVideo"/>
</sequence>
Expand Down
2 changes: 1 addition & 1 deletion marketplace.composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "cloudinary/cloudinary",
"description": "Cloudinary Magento 2 Integration.",
"type": "magento2-module",
"version": "1.10.0",
"version": "1.10.1",
"license": "MIT",
"require": {
"cloudinary/cloudinary_php": "*"
Expand Down

0 comments on commit 1446635

Please sign in to comment.