File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33All notable changes to this project will be documented in this file, per [ the Keep a Changelog standard] ( http://keepachangelog.com/ ) .
44
5+ ## [ 1.8.0] - 2026-04-22
6+
7+ ### Changed
8+
9+ - Defer plugin setup to the ` plugins_loaded ` hook.
10+
511## [ 1.7.0] - 2026-03-04
612
713### Added
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ To include this plugin as a dependency in your Composer-managed WordPress projec
3333composer require s3rgiosan/littlefoot
3434```
3535
36- 2 . Run ` composer install ` to install the plugin .
36+ 2 . Run ` composer install ` .
37373 . Activate the plugin from your WordPress admin area or using WP-CLI.
3838
3939## Usage
Original file line number Diff line number Diff line change 55 * Plugin URI: https://github.com/s3rgiosan/littlefoot
66 * Requires at least: 6.7
77 * Requires PHP: 7.4
8- * Version: 1.7 .0
8+ * Version: 1.8 .0
99 * Author: Sérgio Santos
1010 * Author URI: https://s3rgiosan.dev/?utm_source=wp-plugins&utm_medium=littlefoot&utm_campaign=author-uri
1111 * License: MIT
3737 'littlefoot '
3838);
3939
40- ( Plugin::get_instance () )->setup ();
40+ /**
41+ * Load the plugin.
42+ */
43+ add_action (
44+ 'plugins_loaded ' ,
45+ function () {
46+ $ plugin = Plugin::get_instance ();
47+ $ plugin ->setup ();
48+ }
49+ );
You can’t perform that action at this time.
0 commit comments