Support » Plugin: Pluginception » Doesn’t auto activate

  • Resolved Uriahs Victor

    (@uriahs-victor)


    The create button says Create a blank plugin and activate it! you’d think this would activate the plugin, but you actually have to activate it from the plugins area.

    Not sure if this is intended behavior or not

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    No, the blank plugin that it creates, it also activates, by default.

    The wording is correct, the empty plugin starts activated.

    You can examine the code yourself, right here:

    https://plugins.svn.wordpress.org/pluginception/trunk/pluginception.php

    Near the bottom:

    
    if ( null !== activate_plugin( $plugslug, '', false, true ) ) {
       add_settings_error( 'pluginception', 'activate_plugin', esc_html__('Unable to activate the new plugin.', 'pluginception'), 'error' );
    }
    
    Uriahs Victor

    (@uriahs-victor)

    Strange I tested and it shows active, could guarantee that there’s been cases where it showed inactive, thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Doesn’t auto activate’ is closed to new replies.