Plugin Directory

Changeset 3428523


Ignore:
Timestamp:
12/28/2025 09:08:55 AM (3 months ago)
Author:
edward_plainview
Message:

MyCryptoCheckout v2.154

Location:
mycryptocheckout/trunk
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • mycryptocheckout/trunk/MyCryptoCheckout.php

    r3428102 r3428523  
    88Plugin URI:         https://mycryptocheckout.com
    99Text Domain:        mycryptocheckout
    10 Version:            2.153
     10Version:            2.154
    1111WC tested up to:    10.4.0
    1212*/
     
    3636        use payment_timer_trait;
    3737        use qr_code_trait;
     38        use security_trait;
    3839        use wallets_trait;
    3940
     
    4445        public function _construct()
    4546        {
     47            add_action( 'plugins_loaded', [ $this, 'init_security_trait' ], -999 );
    4648            $this->init_admin_trait();
    4749            $this->init_api_trait();
     
    5052            $this->init_menu_trait();
    5153            $this->init_misc_methods_trait();
     54            $this->init_security_trait();
    5255            $this->easy_digital_downloads = new ecommerce\easy_digital_downloads\Easy_Digital_Downloads();
    5356            $this->woocommerce = new ecommerce\woocommerce\WooCommerce();
     
    7275namespace
    7376{
    74     define( 'MYCRYPTOCHECKOUT_PLUGIN_VERSION', 2.153 );
     77    define( 'MYCRYPTOCHECKOUT_PLUGIN_VERSION', 2.154 );
    7578    /**
    7679        @brief      Return the instance of MCC.
  • mycryptocheckout/trunk/composer.json

    r3428004 r3428523  
    1515        "btccom/cashaddress": "^0.0.3",
    1616        "bitwasp/bitcoin": "v0.0.35.1",
    17         "mycryptocheckout/api": "^2.18"
     17        "mycryptocheckout/api": "^2.19"
    1818    }
    1919}
  • mycryptocheckout/trunk/readme.txt

    r3428102 r3428523  
    236236== Changelog ==
    237237
     238= 2.154 20251228 =
     239
     240* Security: Added security subtab under the global settings.
     241* Security: Added admin user freeze setting, preventing admin users from being created or users promoted to admin level.
     242* Security: The admin freeze setting is ON by default.
     243* Security: Added setting to disable XMLRPC. Off by default. Recommended: on.
     244* Security: Added setting to disable Wordpress' internal file editor. Off by default. Recommended: on.
     245
    238246= 2.153 20251227 =
    239247
  • mycryptocheckout/trunk/src/admin_trait.php

    r3419521 r3428523  
    941941        $this->add_payment_timer_inputs( $fs );
    942942
     943        $fs = $form->fieldset( 'fs_security' );
     944        $fs->legend->label( __( 'Security', 'mycryptocheckout' ) );
     945
     946        $this->add_security_inputs_to_form( $fs );
     947
    943948        $this->add_debug_settings_to_form( $form );
    944949
     
    961966            $this->save_payment_timer_inputs( $form );
    962967            $this->save_qr_code_inputs( $form );
     968            $this->save_security_inputs( $form );
    963969
    964970            $this->save_debug_settings_from_form( $form );
  • mycryptocheckout/trunk/src/misc_methods_trait.php

    r3419521 r3428523  
    643643
    644644            /**
     645                @brief      Prevent admins from being created.
     646                @since      2025-12-26 10:04:41
     647            **/
     648            'security_block_rogue_admins' => true,
     649
     650            /**
     651                @brief      Disable the internal file / theme / plugin editor.
     652                @since      2025-12-26 10:04:25
     653            **/
     654            'security_disable_file_editor' => false,
     655
     656            /**
     657                @brief      Disable the XMLRPC to maybe, perhaps, not allow hackers in.
     658                @since      2025-12-26 10:03:43
     659            **/
     660            'security_disable_xmlrpc' => false,
     661
     662            /**
    645663                @brief      The Wallets collection in which all wallet info is stored.
    646664                @see        Wallets()
Note: See TracChangeset for help on using the changeset viewer.