Plugin Directory

Changeset 3175469


Ignore:
Timestamp:
10/25/2024 06:26:42 AM (17 months ago)
Author:
backupmonkey
Message:

Move cron check to init but use condison

Location:
remotemonkey/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • remotemonkey/trunk/readme.txt

    r3174278 r3175469  
    44Requires at least: 6.4
    55Tested up to: 6.6
    6 Stable tag: 1.1.4
     6Stable tag: 1.1.5
    77Requires PHP: 7.4
    88Author: BackupMonkey.io
  • remotemonkey/trunk/remotemonkey.php

    r3174278 r3175469  
    44Plugin Name: RemoteMonkey
    55Description: Connecting to the BackupMonkey website management
    6 Version: 1.1.4
     6Version: 1.1.5
    77Author: BackupMonkey.io Team <team@backupmonkey.io>
    88Author URI: https://backupmonkey.io/
     
    1515define( 'REMOTEMONKEY_APIURL', 'https://api.backupmonkey.io/' );
    1616define( 'REMOTEMONKEY_GUIURL', 'https://console.backupmonkey.io' );
    17 define( 'REMOTEMONKEY_VERSION', '1.1.4' );
     17define( 'REMOTEMONKEY_VERSION', '1.1.5' );
    1818
    1919/**
  • remotemonkey/trunk/src/Remotemonkey/Api/Base.php

    r3174278 r3175469  
    4949     */
    5050    public function init() {
     51        if (isset( $_POST['monkeytask'] ) && isset( $_POST['signature'] )) {
     52            define('DOING_CRON', true);
     53        }
     54
    5155        add_action(
    5256            'wp_ajax_nopriv_remotemonkey_performtask',
Note: See TracChangeset for help on using the changeset viewer.