General: load plugin faster (#376)
Fixes #375 Related discussion: p1690454109597069-slack-C04TJ8P900J Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
This commit is contained in:
parent
5fd61b98f6
commit
ca5a3e24b1
3 changed files with 11 additions and 9 deletions
|
@ -126,6 +126,7 @@ Project maintained on GitHub at [automattic/wordpress-activitypub](https://githu
|
||||||
* Compatibility: Add hooks to allow modifying images returned in ActivityPub requests.
|
* Compatibility: Add hooks to allow modifying images returned in ActivityPub requests.
|
||||||
* Compatibility: Indicate that the plugin is compatible and has been tested with the latest version of WordPress, 6.3.
|
* Compatibility: Indicate that the plugin is compatible and has been tested with the latest version of WordPress, 6.3.
|
||||||
* Compatibility: Avoid PHP notice on sites using PHP 8.2.
|
* Compatibility: Avoid PHP notice on sites using PHP 8.2.
|
||||||
|
* Fixed: Load the plugin later in the WordPress code lifecycle to avoid errors in some requests.
|
||||||
|
|
||||||
### 0.17.0 ###
|
### 0.17.0 ###
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,7 @@ function init() {
|
||||||
Health_Check::init();
|
Health_Check::init();
|
||||||
Scheduler::init();
|
Scheduler::init();
|
||||||
}
|
}
|
||||||
\add_action( 'plugins_loaded', __NAMESPACE__ . '\init' );
|
\add_action( 'init', __NAMESPACE__ . '\init' );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Autoloader
|
* Class Autoloader
|
||||||
|
|
|
@ -126,6 +126,7 @@ Project maintained on GitHub at [automattic/wordpress-activitypub](https://githu
|
||||||
* Compatibility: Add hooks to allow modifying images returned in ActivityPub requests.
|
* Compatibility: Add hooks to allow modifying images returned in ActivityPub requests.
|
||||||
* Compatibility: Indicate that the plugin is compatible and has been tested with the latest version of WordPress, 6.3.
|
* Compatibility: Indicate that the plugin is compatible and has been tested with the latest version of WordPress, 6.3.
|
||||||
* Compatibility: Avoid PHP notice on sites using PHP 8.2.
|
* Compatibility: Avoid PHP notice on sites using PHP 8.2.
|
||||||
|
* Fixed: Load the plugin later in the WordPress code lifecycle to avoid errors in some requests.
|
||||||
|
|
||||||
= 0.17.0 =
|
= 0.17.0 =
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue