Changeset 2501563
- Timestamp:
- 03/23/2021 09:01:25 AM (5 years ago)
- Location:
- request-io
- Files:
-
- 2 edited
-
tags/1.0/request-io.php (modified) (2 diffs)
-
trunk/request-io.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
request-io/tags/1.0/request-io.php
r2500947 r2501563 9 9 **/ 10 10 11 require_once "vendor/autoload.php";11 require_once plugin_dir_path( __FILE__ ) . "vendor/autoload.php"; 12 12 13 13 class Request_IO_Background_Process extends WP_Async_Request { … … 27 27 { 28 28 // Setup background request 29 add_action(' init', array($this, 'create_background_request'));29 add_action('plugins_loaded', array($this, 'create_background_request')); 30 30 // Hook into the admin menu 31 31 add_action('admin_menu', array($this, 'create_plugin_settings_page')); -
request-io/trunk/request-io.php
r2500947 r2501563 9 9 **/ 10 10 11 require_once "vendor/autoload.php";11 require_once plugin_dir_path( __FILE__ ) . "vendor/autoload.php"; 12 12 13 13 class Request_IO_Background_Process extends WP_Async_Request { … … 27 27 { 28 28 // Setup background request 29 add_action(' init', array($this, 'create_background_request'));29 add_action('plugins_loaded', array($this, 'create_background_request')); 30 30 // Hook into the admin menu 31 31 add_action('admin_menu', array($this, 'create_plugin_settings_page'));
Note: See TracChangeset
for help on using the changeset viewer.