Forums

WordPress Activation does not load any plugins - Bug or not? (5 posts)

  1. X-Blogs
    Member
    Posted 1 year ago #

    I'm really confused. In wp-activate.php the second line is define( "WP_INSTALLING", true ); This constants seems to prevent wordpress from loading plugins. Can anyone of the developers tell me, if this is a bug or a feature!?

    There are some hooks inside the multisite user activation but without loading plugins before, they are pretty useless. Is it save to remove this contant and what sense has this at all?

  2. Andrea_r
    team pirate
    Posted 1 year ago #

    Well, what exactly is the problem you're trying to fix?

  3. X-Blogs
    Member
    Posted 1 year ago #

    I want to perform an action at the "wpmu_activate_user" hook! The hook works, but no plugins are loaded with WP_INSTALLING == true.

  4. Andrea_r
    team pirate
    Posted 1 year ago #

    Are the plugins network activated? not all of them work well with this.

  5. X-Blogs
    Member
    Posted 1 year ago #

    If I comment out this line, the hook works, with WP_INSTALL it does not work. And it is no problem of my plugin, just a simple exit('test') does not work, because with this line, plugins are not loaded.

Topic Closed

This topic has been closed to new replies.

About this Topic