File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,7 @@ function example_plugin($instance = false) {
2626
2727add_action ('plugins_loaded ' , function () {
2828
29- /**
30- * Don't load during plugin activation: the newest version of Framework is
31- * not guaranteed due to how WordPress runs the `plugins_loaded` action *before*
32- * loading plugins and modules, short-circuiting the version comparison logic.
33- * @see https://developer.wordpress.org/reference/functions/register_activation_hook/#more-information
34- * @see https://github.com/WordPress/wordpress-develop/blob/8a52d746e9bb85604f6a309a87d22296ce1c4280/src/wp-admin/includes/plugin.php#L2381C10-L2381C31
35- */
29+ // See https://github.com/TangibleInc/framework/#note-on-plugin-activation
3630 if (defined ('WP_SANDBOX_SCRAPING ' )) return ;
3731
3832 $ plugin = framework \register_plugin ([
You can’t perform that action at this time.
0 commit comments