Plugin Directory

Changeset 3298458


Ignore:
Timestamp:
05/22/2025 05:18:00 AM (10 months ago)
Author:
beycanpress
Message:

Update to version 1.0.3 from GitHub

Location:
cryptopay-gateway-for-rcp
Files:
16 deleted
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • cryptopay-gateway-for-rcp/tags/1.0.3/app/Loader.php

    r3219416 r3298458  
    1919        Helpers::registerIntegration('rcp');
    2020
    21         // add transaction page
    22         Helpers::createTransactionPage(
    23             esc_html__('Restrict Content Pro Transactions', 'cryptopay-gateway-for-rcp'),
    24             'rcp',
    25             10,
    26             [
    27                 'orderId' => function ($tx) {
    28                     return Helpers::run('view', 'components/link', [
    29                         'url' => sprintf(admin_url('admin.php?page=rcp-payments&payment_id=%d&view=edit-payment'), $tx->orderId), // @phpcs:ignore
    30                         /* translators: %d: transaction order id */
    31                         'text' => sprintf(esc_html__('View payment #%d', 'cryptopay-gateway-for-rcp'), $tx->orderId)
    32                     ]);
    33                 }
    34             ]
    35         );
     21        add_action('init', function (): void {
     22            // add transaction page
     23            Helpers::createTransactionPage(
     24                esc_html__('Restrict Content Pro Transactions', 'cryptopay-gateway-for-rcp'),
     25                'rcp',
     26                9,
     27                [
     28                    'orderId' => function ($tx) {
     29                        return Helpers::run('view', 'components/link', [
     30                            'url' => sprintf(admin_url('admin.php?page=rcp-payments&payment_id=%d&view=edit-payment'), $tx->orderId), // @phpcs:ignore
     31                            /* translators: %d: transaction order id */
     32                            'text' => sprintf(esc_html__('View payment #%d', 'cryptopay-gateway-for-rcp'), $tx->orderId)
     33                        ]);
     34                    }
     35                ]
     36            );
     37        });
    3638
    3739        Hook::addAction('payment_finished_rcp', [$this, 'paymentFinished']);
  • cryptopay-gateway-for-rcp/tags/1.0.3/cryptopay-gateway-for-rcp.php

    r3219416 r3298458  
    1212/**
    1313 * Plugin Name: CryptoPay Gateway for Restrict Content Pro
    14  * Version:     1.0.2
     14 * Version:     1.0.3
    1515 * Plugin URI:  https://beycanpress.com/cryptopay/
    1616 * Description: Adds Cryptocurrency payment gateway (CryptoPay) for Restrict Content Pro.
     
    2222 * Tags: Bitcoin, Ethereum, Crypto, Payment, Restrict Content Pro
    2323 * Requires at least: 5.0
    24  * Tested up to: 6.7.1
     24 * Tested up to: 6.8
    2525 * Requires PHP: 8.1
    2626*/
     
    3030
    3131define('RCP_CRYPTOPAY_FILE', __FILE__);
    32 define('RCP_CRYPTOPAY_VERSION', '1.0.2');
     32define('RCP_CRYPTOPAY_VERSION', '1.0.3');
    3333define('RCP_CRYPTOPAY_KEY', basename(__DIR__));
    3434define('RCP_CRYPTOPAY_URL', plugin_dir_url(__FILE__));
  • cryptopay-gateway-for-rcp/tags/1.0.3/readme.txt

    r3219416 r3298458  
    33Tags: Bitcoin, Ethereum, Crypto, Payment, Restrict Content Pro
    44Requires at least: 5.0
    5 Tested up to: 6.7.1
     5Tested up to: 6.8
    66Requires PHP: 8.1
    7 Stable Tag: 1.0.2
    8 Version: 1.0.2
     7Stable Tag: 1.0.3
     8Version: 1.0.3
    99License: GPLv3
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    5757== Changelog ==
    5858
     59= 1.0.3 =
     60* Fixed: _load_textdomain_just_in_time early call
     61
    5962= 1.0.2 =
    6063* Released on WordPress.org
  • cryptopay-gateway-for-rcp/trunk/app/Loader.php

    r3219416 r3298458  
    1919        Helpers::registerIntegration('rcp');
    2020
    21         // add transaction page
    22         Helpers::createTransactionPage(
    23             esc_html__('Restrict Content Pro Transactions', 'cryptopay-gateway-for-rcp'),
    24             'rcp',
    25             10,
    26             [
    27                 'orderId' => function ($tx) {
    28                     return Helpers::run('view', 'components/link', [
    29                         'url' => sprintf(admin_url('admin.php?page=rcp-payments&payment_id=%d&view=edit-payment'), $tx->orderId), // @phpcs:ignore
    30                         /* translators: %d: transaction order id */
    31                         'text' => sprintf(esc_html__('View payment #%d', 'cryptopay-gateway-for-rcp'), $tx->orderId)
    32                     ]);
    33                 }
    34             ]
    35         );
     21        add_action('init', function (): void {
     22            // add transaction page
     23            Helpers::createTransactionPage(
     24                esc_html__('Restrict Content Pro Transactions', 'cryptopay-gateway-for-rcp'),
     25                'rcp',
     26                9,
     27                [
     28                    'orderId' => function ($tx) {
     29                        return Helpers::run('view', 'components/link', [
     30                            'url' => sprintf(admin_url('admin.php?page=rcp-payments&payment_id=%d&view=edit-payment'), $tx->orderId), // @phpcs:ignore
     31                            /* translators: %d: transaction order id */
     32                            'text' => sprintf(esc_html__('View payment #%d', 'cryptopay-gateway-for-rcp'), $tx->orderId)
     33                        ]);
     34                    }
     35                ]
     36            );
     37        });
    3638
    3739        Hook::addAction('payment_finished_rcp', [$this, 'paymentFinished']);
  • cryptopay-gateway-for-rcp/trunk/cryptopay-gateway-for-rcp.php

    r3219416 r3298458  
    1212/**
    1313 * Plugin Name: CryptoPay Gateway for Restrict Content Pro
    14  * Version:     1.0.2
     14 * Version:     1.0.3
    1515 * Plugin URI:  https://beycanpress.com/cryptopay/
    1616 * Description: Adds Cryptocurrency payment gateway (CryptoPay) for Restrict Content Pro.
     
    2222 * Tags: Bitcoin, Ethereum, Crypto, Payment, Restrict Content Pro
    2323 * Requires at least: 5.0
    24  * Tested up to: 6.7.1
     24 * Tested up to: 6.8
    2525 * Requires PHP: 8.1
    2626*/
     
    3030
    3131define('RCP_CRYPTOPAY_FILE', __FILE__);
    32 define('RCP_CRYPTOPAY_VERSION', '1.0.2');
     32define('RCP_CRYPTOPAY_VERSION', '1.0.3');
    3333define('RCP_CRYPTOPAY_KEY', basename(__DIR__));
    3434define('RCP_CRYPTOPAY_URL', plugin_dir_url(__FILE__));
  • cryptopay-gateway-for-rcp/trunk/readme.txt

    r3219416 r3298458  
    33Tags: Bitcoin, Ethereum, Crypto, Payment, Restrict Content Pro
    44Requires at least: 5.0
    5 Tested up to: 6.7.1
     5Tested up to: 6.8
    66Requires PHP: 8.1
    7 Stable Tag: 1.0.2
    8 Version: 1.0.2
     7Stable Tag: 1.0.3
     8Version: 1.0.3
    99License: GPLv3
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    5757== Changelog ==
    5858
     59= 1.0.3 =
     60* Fixed: _load_textdomain_just_in_time early call
     61
    5962= 1.0.2 =
    6063* Released on WordPress.org
Note: See TracChangeset for help on using the changeset viewer.