WordPress.org

Support

Support » Plugins and Hacks » Add Logo to Admin » [Plugin: Add Logo to Admin] make logo sticky after deactivate/reactivate?

[Plugin: Add Logo to Admin] make logo sticky after deactivate/reactivate?

  • The plugin works great. Thanks.

    Only drawback is that after disabling the plugin, (which I have to do often to debug plugin conflicts), it loses the checked/selected logo.

    I use this plugin on a lot of sites, and do a lot of debugging, so it is very tedious to always have to go back in and select he already uploaded logo.

    Is there any way you can make the logo selection sticky after deactivate/reactivate?

    Thanks,
    Jeff

    http://wordpress.org/extend/plugins/add-logo-to-admin/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author c.bavota

    @tinkerpriest

    WordPress suggests that when a plugin is deactivated, you remove all the options from the database. Add Logo to Admin is built that way but you can overwrite this by creating a modified version. Just remember that each time you update it you would have to modify it again.

    Just remove this line:

    register_deactivation_hook(__FILE__,'unset_add_logo_options');

    I think WP recommends clean up of the database on Plugin Deletion, not Deactivation.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Add Logo to Admin] make logo sticky after deactivate/reactivate?’ is closed to new replies.
Skip to toolbar