Plugin Directory

Changeset 3298457


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

Update to version 1.0.3 from GitHub

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

Legend:

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

    r3100216 r3298457  
    2323
    2424        // add transaction page
    25         Helpers::createTransactionPage(
    26             esc_html__('ProfilePress Transactions', 'pp-cryptopay'),
    27             'profilepress',
    28             10,
    29             [
    30                 'orderId' => function ($tx) {
    31                     return Helpers::run('view', 'components/link', [
    32                         'url' => sprintf(admin_url('admin.php?page=ppress-orders&ppress_order_action=edit&id=1'), $tx->orderId), // @phpcs:ignore
    33                         /* translators: %d: order id */
    34                         'text' => sprintf(esc_html__('View order #%d', 'gf-cryptopay'), $tx->orderId)
    35                     ]);
    36                 }
    37             ]
    38         );
     25        add_action('init', function (): void {
     26            Helpers::createTransactionPage(
     27                esc_html__('ProfilePress Transactions', 'pp-cryptopay'),
     28                'profilepress',
     29                9,
     30                [
     31                    'orderId' => function ($tx) {
     32                        return Helpers::run('view', 'components/link', [
     33                            'url' => sprintf(admin_url('admin.php?page=ppress-orders&ppress_order_action=edit&id=1'), $tx->orderId), // @phpcs:ignore
     34                            /* translators: %d: order id */
     35                            'text' => sprintf(esc_html__('View order #%d', 'gf-cryptopay'), $tx->orderId)
     36                        ]);
     37                    }
     38                ]
     39            );
     40        });
    3941
    4042        Hook::addAction('payment_finished_profilepress', [$this, 'paymentFinished']);
  • cryptopay-gateway-for-profilepress/tags/1.0.3/cryptopay-gateway-for-profilepress.php

    r3198775 r3298457  
    1212/**
    1313 * Plugin Name: CryptoPay Gateway for ProfilePress
    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 ProfilePress.
     
    2222 * Tags: Bitcoin, Ethereum, Crypto, Payment, ProfilePress
    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('PP_CRYPTOPAY_FILE', __FILE__);
    32 define('PP_CRYPTOPAY_VERSION', '1.0.2');
     32define('PP_CRYPTOPAY_VERSION', '1.0.3');
    3333define('PP_CRYPTOPAY_KEY', basename(__DIR__));
    3434define('PP_CRYPTOPAY_URL', plugin_dir_url(__FILE__));
  • cryptopay-gateway-for-profilepress/tags/1.0.3/readme.txt

    r3198775 r3298457  
    33Tags: Bitcoin, Ethereum, Crypto, Payment, ProfilePress
    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
     
    6363== Changelog ==
    6464
     65= 1.0.3 =
     66* Fixed: _load_textdomain_just_in_time early call
     67
    6568= 1.0.2 =
    6669* Fixed: Text domain warning.
  • cryptopay-gateway-for-profilepress/trunk/app/Loader.php

    r3100216 r3298457  
    2323
    2424        // add transaction page
    25         Helpers::createTransactionPage(
    26             esc_html__('ProfilePress Transactions', 'pp-cryptopay'),
    27             'profilepress',
    28             10,
    29             [
    30                 'orderId' => function ($tx) {
    31                     return Helpers::run('view', 'components/link', [
    32                         'url' => sprintf(admin_url('admin.php?page=ppress-orders&ppress_order_action=edit&id=1'), $tx->orderId), // @phpcs:ignore
    33                         /* translators: %d: order id */
    34                         'text' => sprintf(esc_html__('View order #%d', 'gf-cryptopay'), $tx->orderId)
    35                     ]);
    36                 }
    37             ]
    38         );
     25        add_action('init', function (): void {
     26            Helpers::createTransactionPage(
     27                esc_html__('ProfilePress Transactions', 'pp-cryptopay'),
     28                'profilepress',
     29                9,
     30                [
     31                    'orderId' => function ($tx) {
     32                        return Helpers::run('view', 'components/link', [
     33                            'url' => sprintf(admin_url('admin.php?page=ppress-orders&ppress_order_action=edit&id=1'), $tx->orderId), // @phpcs:ignore
     34                            /* translators: %d: order id */
     35                            'text' => sprintf(esc_html__('View order #%d', 'gf-cryptopay'), $tx->orderId)
     36                        ]);
     37                    }
     38                ]
     39            );
     40        });
    3941
    4042        Hook::addAction('payment_finished_profilepress', [$this, 'paymentFinished']);
  • cryptopay-gateway-for-profilepress/trunk/cryptopay-gateway-for-profilepress.php

    r3198775 r3298457  
    1212/**
    1313 * Plugin Name: CryptoPay Gateway for ProfilePress
    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 ProfilePress.
     
    2222 * Tags: Bitcoin, Ethereum, Crypto, Payment, ProfilePress
    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('PP_CRYPTOPAY_FILE', __FILE__);
    32 define('PP_CRYPTOPAY_VERSION', '1.0.2');
     32define('PP_CRYPTOPAY_VERSION', '1.0.3');
    3333define('PP_CRYPTOPAY_KEY', basename(__DIR__));
    3434define('PP_CRYPTOPAY_URL', plugin_dir_url(__FILE__));
  • cryptopay-gateway-for-profilepress/trunk/readme.txt

    r3198775 r3298457  
    33Tags: Bitcoin, Ethereum, Crypto, Payment, ProfilePress
    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
     
    6363== Changelog ==
    6464
     65= 1.0.3 =
     66* Fixed: _load_textdomain_just_in_time early call
     67
    6568= 1.0.2 =
    6669* Fixed: Text domain warning.
Note: See TracChangeset for help on using the changeset viewer.