According to the source code of wp-admin/includes/class-wp-upgrader.php
Single plugin update:
add_filter('upgrader_pre_install', array(&$this, 'deactivate_plugin_before_upgrade'), 10, 2);
add_filter('upgrader_clear_destination', array(&$this, 'delete_old_plugin'), 10, 4);
It’ll deactivate the plugin before upgrade and you need to re-activate it manually after upgrade.
No maintenance file generated
Bulk Pluigns Update
add_filter('upgrader_clear_destination', array(&$this, 'delete_old_plugin'), 10, 4);
// Only start maintenance mode if running in Multisite OR the plugin is in use
No deactivation before upgrade. The plugin status will be as what it was. So, if it is activated now, it’ll still be activated after upgrade.
And maintenance file will be generated if running in Multisite OR the plugin is in use.
I urge you to read the source code yourself in case if I’m wrong.
Related Posts:
- what is the correct way to update a plugin via tortoise svn to the repository?
- An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration
- List all sidebar names?
- Open Source Forum for wordpress similar to stackexchange or stackoverflow [closed]
- Better to fire specific hooks or generic hooks with parameters?
- How to run Jetpack from localhost? [closed]
- How to make simply “report” button on posts
- Is there a hook attached to general settings save?
- Multiple plugins vs combined one
- WooCommerce – Load Templates From Plugin For All Template Files
- How to remove filter added by another plugin in a class
- Plugin for automatic database backup? [closed]
- Are there any drawbacks to install IntenseDebate on my blog?
- Using add_filter inside another class
- SESSION in WordPress Plugin Development
- Displaying products from categories in woocommerce
- wp-cli silently fails with error code 255
- WordPress plugin installation error
- How long does it take for a new plugin to be approved?
- Allowing members to upload photos to their profile
- How do I make my wordpress page more friendly for mobile viewers?
- Plugin for changing a post’s category based on it’s post date?
- WordPress Enqueue Script Chaos (jQuery & Foundation.js)
- How can I get an image from the uploads dir and enter it in the media library? [closed]
- Change destination author link
- Good tools for locating hooks in a wordpress page/admin interface/blog post?
- Multisite functions to communicate with individual site functions
- Alter post slug by a filter that is fired just after a post is created
- Check javascript file Proper way in functions.php
- register child class in another plugin
- How to call a plugin function in footer.php
- I’m trying to create security question field for my login page
- Restrict backend but allow to use post.php?action=delete&post=POSTID from front-end
- Detecting when a custom taxonomy has been changed and display alert?
- Give editors access to particular plugin – turn “admin.php” into “edit.php”
- How to write ‘safe’ plugins? [closed]
- Standard permissions for wordpress; Plugin installation asks for FTP credentials
- Server-side subscribe by email?
- Gutenberg Block: Objects are not valid as a React child (found: [object HTMLDivElement])
- WooCommerce “Save Changes” button appears inside custom settings
- how to show database content in wordpress post
- What is the easiest way to implement cascading database upgrade for my plugin?
- How does WooCommerce store products / product variations? / Free Script to import product variations? [closed]
- How to create Repeater fields using Advanced Custom Fields?
- Saving/Writing/Adding file to upload folder
- Override plugin functions in functions.php
- How to override my plugin’s php classes with duplicates that are in my child theme folder
- Recommendations for books/resource to get started with wordpress 3 development (plugins/themes) [closed]
- How to make my plugin GDPR compatible?
- WordPress sending emails continuously. How to stop it?
- Can I use a method from an existing plugin as an action hook?
- How do I make sure a plugin loads a script after jQuery
- Why is the Settings API is not saving my array of options
- rms_unique_wp_mu_pl_fl_nm.php
- Override comments.php template with plugin
- Detect when any plugin is activated or deactivated
- How To Hide Filters On Specific Categories with WooCommerce Products Filter(WOOF)
- redirect on theme switch – WordPress
- Add a plugin before main container
- medoo framework in WP plugin
- Why is an action callback function from an instance of a class always invoking the same function from an instance?
- Is there a way to get dynamic data into a Slider Revolution slide from a PHP script?
- Is there a way to dynamically get URL as a path to plugin root, not a local path?
- WordPress CMB2 – Run function on save
- Woocommerce email template customization [closed]
- register_activation_hook with include file [closed]
- Add htmlentities and/or shortcode into data-attributes
- WAMP to XAMPP WordPress transfer
- How can i list random post from multiple category?
- How to create TEMPORARY Download links in a wordpress POST?
- Infinite Scroll for both Index, Category and Archive
- How can I capture Memberpress user info after signup [closed]
- WordPress Redirect Not Working – AJAX Callback Response Not Picked Up
- Plugin echos text from shortcode function in gutenberg page editor
- Why is my staging subdomain not sending wordpress_logged_in cookies?
- Custom REST API endpoint returns rest_no_route when called via wp-json permalink
- Issue with adding count to “subsubsub” aka quick links on custom_post_type
- Does WordPress merges a plugin folder during update?
- Use wp_enqueue_scripts from included php file
- Register Page Template from Plugin
- WordPress independent plugin upgrade notification system [duplicate]
- Making a plugin only available on the front-end for the logged in super admin
- wordpress prevent multiple shortcodes
- Admin Panel pagination link styles
- Using meta_query to get date type values from post_meta table WordPress
- Nonce failing on form submission
- How to use a class from another plugin
- Add An Activity Filter By User Id In Buddypress Plugin
- I am not receiving className in a ServerSideRender component
- plugin to make specific post appear [closed]
- Blog titles from WP blog on plain html site?
- How to Exclude Files in Sub-Folders from WP Plugin Editor List?
- Load plugins’.mo and .po files from a directory
- (Big issue) Blog is Getting Down Each day.. what should i do.?
- How to delete custom taxonomy terms in plugin’s uninstall.php?
- Automatic Updates Individual Plugins Not Working
- Problem with updating a plugin
- Send email when a portfolio project is updated
- Permalinks stopped working after migration with WP all-in-one migration plugin
- Dynamic admin submenu