Skip to content

Commit

Permalink
Merge pull request #29 from omise/release/1.2.2
Browse files Browse the repository at this point in the history
Release v1.2.2
  • Loading branch information
guzzilar authored Aug 26, 2016
2 parents b751fb5 + 837ac85 commit b54d03a
Show file tree
Hide file tree
Showing 63 changed files with 18 additions and 3,755 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## [1.2.2] 2016-08-26
- *`Improved`* Specify the display size of card brand image and allow customer to define their own style
- *`Removed`* Remove an unused unit test of the library, omise-php

## [1.2.1] 2016-08-05
- *`Added`* Configuration for card brand logo display
- *`Added`* List of transfers
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ Developer Documentation [here](https://www.omise.co/docs/)
## Installation Guide

1. Download the latest release packed as zip format from Releases page: https://github.com/omise/omise-woocommerce/releases
( latest: https://github.com/omise/omise-woocommerce/archive/v1.2.1.zip )
( latest: https://github.com/omise/omise-woocommerce/archive/v1.2.2.zip )

2. Install plugin in wordpress using Plugin Upload method, i.e. https://yourwebsite.com/wp-admin/plugin-install.php?tab=upload
and upload omise-woocommerce-1.2.1.zip
and upload omise-woocommerce-1.2.2.zip

3. Activate Omise plugin

Expand Down
2 changes: 1 addition & 1 deletion includes/classes/class-omise-card-image.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Omise_Card_Image {
*/
private static function get_image( $file, $alternate_text ) {
$url = WC_HTTPS::force_https_url( WC()->plugin_url() . '/assets/images/icons/credit-cards/' );
return "<img src='$url/$file' width='38px' alt='$alternate_text' />";
return "<img src='$url/$file' class='Omise-CardBrandImage' style='width: 38px;' alt='$alternate_text' />";
}

/**
Expand Down
9 changes: 0 additions & 9 deletions includes/libraries/omise-php/circle.yml

This file was deleted.

23 changes: 0 additions & 23 deletions includes/libraries/omise-php/composer.json

This file was deleted.

24 changes: 0 additions & 24 deletions includes/libraries/omise-php/phpunit.xml

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit b54d03a

Please sign in to comment.