WordPress.org

Support

Support » Multisite » WordPress Activation does not load any plugins – Bug or not?

WordPress Activation does not load any plugins – Bug or not?

  • X-Blogs
    Member

    @x-blogs

    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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Andrea Rennick
    Moderator

    @andrea_r

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

    X-Blogs
    Member

    @x-blogs

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

    Andrea Rennick
    Moderator

    @andrea_r

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

    X-Blogs
    Member

    @x-blogs

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WordPress Activation does not load any plugins – Bug or not?’ is closed to new replies.