Skip to content

Commit

Permalink
Changed Plugin Name and some code and doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahbub Hasan Imon authored and Mahbub Hasan Imon committed Jan 23, 2023
1 parent 4506aed commit 7d68985
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 19 deletions.
3 changes: 0 additions & 3 deletions assets/admin/js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* @package BDPaymentsGateway
*/

/**
* Swiper Slider
*/
jQuery(document).ready(
function ($) {

Expand Down
3 changes: 0 additions & 3 deletions assets/public/js/bdpg-public.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* @package BDPaymentGateways
*/

/**
* Swiper Slider
*/
jQuery(document).ready(
function ($) {
$(document.body).on(
Expand Down
10 changes: 4 additions & 6 deletions bd-payment-gateways.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
*/

/**
* Plugin Name: Bangladeshi Payment Gateways
* Plugin Name: Bangladeshi Payment Gateways - Make Payment Using QR Code
* Plugin URI: https://ultradevs.com/plugins/bangladeshi-payment-gateways
* Description: Bangladeshi Payment Gateways for WooCommerce.
* Version: 2.0.5
* Version: 2.0.6
* Author: ultraDevs
* Author URI: https://ultradevs.com
* License: GPL v2 or later
Expand Down Expand Up @@ -122,15 +122,15 @@ public function init() {
$this->upay = new ultraDevs\BDPG\Gateways\Upay();

// Helper Class.
$helper = new ultraDevs\BDPG\Helper();
new ultraDevs\BDPG\Helper();

// Assets Manager Class.
$assets_manager = new ultraDevs\BDPG\Assets_Manager();

// Activate.
$activate = new ultraDevs\BDPG\Activate();

// Helper Class.
// Review Class.
$review = new ultraDevs\BDPG\Review();

add_action( 'woocommerce_payment_gateways', array( $this, 'add_payment_gateways' ) );
Expand All @@ -152,9 +152,7 @@ public function init() {
} else {
// Frontend Assets.
add_action( 'wp_enqueue_scripts', array( $assets_manager, 'frontend_assets' ) );

}

}

/**
Expand Down
3 changes: 1 addition & 2 deletions includes/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ public static function add_option( $key, $value ) {
*/
public static function get_option( $key, $default = false ) {
// Get Option.
$value = get_option( $key, $default );
return $value;
return get_option( $key, $default );
}

/**
Expand Down
8 changes: 7 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Bangladeshi Payment Gateways for WooCommerce
# Bangladeshi Payment Gateways - Make Payment Using QR Code

== Description ==

Expand Down Expand Up @@ -64,6 +64,12 @@ No, You must install and active woocommerce plugin to make this plugin work.

== Changelog ==

= 2.0.6 - 24/01/2023 =

* Updated: Plugin Name.
* Updated: Some Code Documentation
* Updated: Some Code

= 2.0.5 - 25/10/2021 =

* Added: Upay
Expand Down
13 changes: 9 additions & 4 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
=== Bangladeshi Payment Gateways ===
=== Bangladeshi Payment Gateways - Make Payment Using QR Code ===
Contributors: ultradevs, mhimon
Donate link: https://ultradevs.com/donate/
Tags: mobile payment gateways, bangladeshi mobile banking, payment, gateway, bKash, rocket,nagad,upay qr code
Tags: mobile payment gateways, bangladeshi mobile banking, payment, gateway, bKash, rocket,nagad,upay qr code, qr code
Requires at least: 4.4
Tested up to: 6.0
Stable tag: 2.0.5
Tested up to: 6.1.1
Stable tag: 2.0.6
Requires PHP: 5.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -79,6 +79,11 @@ No, You must install and active woocommerce plugin to make this plugin work.

== Changelog ==

= 2.0.6 - 24/01/2023 =
* Updated: Plugin Name
* Updated: Code Documentation
* Updated: Some Code

= 2.0.5 - 25/10/2021 =
* Added: Upay
* Fixed: b tag issue
Expand Down

0 comments on commit 7d68985

Please sign in to comment.