Plugin Directory

Changeset 3061739


Ignore:
Timestamp:
03/31/2024 11:59:43 AM (2 years ago)
Author:
mswebarts
Message:

Update Opproval to v1.2.2

Location:
order-approval-by-customer-for-woocommerce
Files:
8 added
2 edited

Legend:

Unmodified
Added
Removed
  • order-approval-by-customer-for-woocommerce/trunk/order-approval.php

    r2495728 r3061739  
    11<?php
    22/**
    3  * Plugin Name: Order Approval by Customer for WooCommerce
    4  * Description: This plugin enables the order approval by Customers for woocommerce. The customers can change the order status/approve the order when it has order status set as Delivered.
    5  * Version:     1.2.1
     3 * Plugin Name: Opproval - Order Approval by Customer
     4 * Description: Deliver the order and let your customers mark the delivery as completed after receiving the product.
     5 * Version:     1.2.2
    66 * Author:      MS Web Arts
    77 * Author URI:  https://www.mswebarts.com/
    88 * License:     GPL v2 or later
    99 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
    10  * Text Domain: order-approval
     10 * Text Domain: opproval
    1111
    12  {Plugin Name} is free software: you can redistribute it and/or modify
    13 it under the terms of the GNU General Public License as published by
    14 the Free Software Foundation, either version 2 of the License, or
    15 any later version.
    16  
    17 {Plugin Name} is distributed in the hope that it will be useful,
    18 but WITHOUT ANY WARRANTY; without even the implied warranty of
    19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    20 GNU General Public License for more details.
    21  
    22 You should have received a copy of the GNU General Public License
    23 along with {Plugin Name}. If not, see {License URI}.
    2412 */
    2513
     
    3624function msoa_woocommerce_dependency_error() {
    3725    $class = 'notice notice-error';
    38     $message = __( 'You must need to install and activate woocommerce for Order Approval to work', 'order-approval' );
     26    $message = __( 'You must need to install and activate woocommerce for Order Approval to work', 'opproval' );
    3927
    4028    printf( '<div class="%1$s"><p>%2$s</p></div>', esc_attr( $class ), esc_html( $message ) );
     29}
     30
     31// Load plugin textdomain
     32add_action( 'init', 'msoa_load_textdomain' );
     33function msoa_load_textdomain() {
     34    load_plugin_textdomain( 'opproval', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
    4135}
    4236
     
    7266
    7367        if ( 'wc-processing' === $key ) {
    74             $new_order_statuses['wc-delivered'] = __( 'Delivered', 'order-approval' );
     68            $new_order_statuses['wc-delivered'] = __( 'Delivered', 'opproval' );
    7569        }
    7670    }
     
    9892                <input type="hidden" name="order_id" value="<?php echo esc_attr($order_id);?>">
    9993                <?php wp_nonce_field( 'so_38792085_nonce_action', '_so_38792085_nonce_field' ); ?>
    100                 <input class="int-button-small" type="submit" value="<?php echo esc_attr_e( 'Mark as Received', 'order-approval' ); ?>" data-toggle="tooltip" title="<?php echo esc_attr_e( 'Click to mark the order as complete if you have received the product', 'order-approval' ); ?>">
     94                <input class="int-button-small" type="submit" value="<?php echo esc_attr_e( 'Mark as Received', 'opproval' ); ?>" data-toggle="tooltip" title="<?php echo esc_attr_e( 'Click to mark the order as complete if you have received the product', 'opproval' ); ?>">
    10195            </form>
    10296        </div>
  • order-approval-by-customer-for-woocommerce/trunk/readme.txt

    r2674292 r3061739  
    1 === Order Approval by Customer for WooCommerce ===
    2 Contributors: mswebarts, msshohan
     1=== Opproval - Order Approval by Customer for WooCommerce ===
     2Contributors: mswebarts
    33Tags: woocommerce, order, approval, mark order
    44Requires at least: 4.6
    5 Tested up to: 5.9
     5Tested up to: 5.8
    66Requires PHP: 5.6
    7 Stable tag: 1.2.1
     7Stable tag: 1.2.2
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1010
    11 This plugin will help you improve the WooCommerce workflow and gain customer trust by completing the order only when they have received the products.
     11Deliver the order and let your customers mark the delivery as completed after receiving the product.
    1212
    1313== Description ==
     
    8787== Changelog ==
    8888
    89 = 1.0.1 =
    90 * Initial release
     89= 1.2.1 =
     90* Compatibility with WordPress 6.5 and WC 8.7
    9191
    92 = 1.2 =
     92= 1.2.1 =
     93* Added compatibility for WordPress 5.8
     94
     95= 1.2.0 =
    9396* Added compatibility for WordPress 5.6.2
    9497* Hidden Mark As Received button after form submit
    9598* Fixed order status text update without manually refreshing
    9699
    97 = 1.2.1 =
    98 * Added compatibility for WordPress 5.8
     100= 1.0.1 =
     101* Initial release
Note: See TracChangeset for help on using the changeset viewer.