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:
- Hide prices and checkout functionality in woocommerce
- Alter how often WordPress Auto-Updates Plugins
- How to get a variable number of posts per post type on the main loop?
- My custom made plugin has “a new version available” which links to unrelated plugin
- Link to Download Latest WordPress PLUGIN Version
- Difference between deactivating, uninstalling, and deleting plugins
- How to fetch serialized data from wordpress options
- plugin get value from admin panel page
- WordPress network: set themes and plugins for new blog
- Advanced Custom Fields into functions.php
- How can I get a list of plugins and which blogs are using them?
- How WordPress autosave can save plugin fields?
- nonces in custom oop plugin
- Custom Text Under Navigation Links
- How do I know which plugin uses the most resource?
- Set a category for a page
- How to redirect a Custom Google Search to a wordpress page/template?
- force customers to add only single item to card per purchase EDD [closed]
- Preventing BFA in WordPress without using a plugin
- How to obtain page breadcrumb based on menu structure only?
- Multisite installation but do plugins always have to be multisite compatible?
- 404 Error on Activate / Deactivate Plugin
- Weird lightbox phenomenon [closed]
- Reduce Drop down Menu Width in WordPress
- WordPress get_option and update_option returned entered on the textbox field
- issues with wp_enqueue_script in my plugin
- AddToAny shortcode in the loop
- How can I perform high-level database merging for WordPress within continues delivery?
- WordPress + JavaScipt + AJAX + MySQL: insert query for form
- How to inform the user that the save was not successful?
- php page not found for plugin options menu
- Include live chat plugin into page content
- Self-serve ad system like Reddit’s for WordPress? [closed]
- Plugin to create forms using HTML [closed]
- Call plugin with php function
- Custom setup of wordpress comments that are displayed
- Render content of multiple pages and their descendants
- Overriding post’s font-family
- How to keep variable `$post` to using in another file
- Best portfolio/gallery/carousel slideshow plugin with thickbox? [closed]
- Override/ignore CSS from active theme as not to interfere with my custom CSS
- WordPress Custom Pages that work with Plugins?
- How to use the CSS of the WordPress core in the development of my administration page?
- Plugin – Admin menu page broken url
- Hide DIV if empty – Plugin Gallery
- how to make dynamic subdomain for each user registering?
- Call Ajax URL in Plugin
- Retrieve Plugin Settings and insert into XML string
- using add_action without having custom plugin or theme
- Is there existing plugins to “Click-to-Launch” embedded Flash / SWF content?
- Using Microsift Word/Outlook for content publishing to WordPress
- Defining the value of a variable before a function?
- What archive plugin works with W3 total cache? [closed]
- Theme deactived html and css styling on home page posts
- Website Captcha Error: The reCAPTCHA wasn’t entered correctly
- How do I send the contents of a form to deliver to the already existing custom field in the wordpress theme
- WordPress Multisite Profile Picture Sync Error with Nextend Social Login Plugin
- WordPress plugins – “Update” in backend vs replacing all files with never version
- Error datatable whit ajax
- How can I change a translation for a string in a plugin?
- New posts are not showing up on my front page
- Multisite – Cloning CPT pages + content (including ACF Flexible Content) from site to site
- Can’t Edit Row Layout on SiteOrigin Plugin
- Applying module CSS to page
- How can I recreate my HTML page with custom grid layout (blocks spanning rows and columns) in WordPress?
- Nested Actions and Filters
- WordPress products authentication
- Create dynamic / data driven pages in wordpress
- Saving data only when payment is successful
- Creating a plugin to show a pop-up banner on every page
- Plugin sending emails to external addresses, not internal
- Plugin doesn’t update it’s version and code on WordPress.org
- Passing variable from template file to the plugin file
- Method for creating many-to-one Relationships between custom posts and a single user?
- How can I add a custom checkbox / radio button on the admin theme options to display a CSS or other?
- Choose default template for a page with code
- Resetting AUTO_INCREMENT primary key
- How to display post by date written (1974) and not date published (today)?
- Hide some shortcodes on posts from back-end
- Show a table from data submitted by a form from a user
- custom template only for content
- I keep getting fake users registrations
- Issue of page width with twenty fourteen theme
- WordPress Search return wrong results
- Adding google authenticator and use only email address of user
- WordPress how to create grouping like category
- How to Batch Upload .docx Files as Posts
- WPMU site in subdirectory: When I clone a site with NS Cloner Pro plugin, how do I remove the subdirectory from the URL?
- How to add multiple versions of the same featured image for SEO reasons?
- How can I process all requests for a given directory in a URL with my plugin?
- E-commerce-like solution [closed]
- single.php fires more than once after clicking on any post to view with different post id each time
- How to display a link in the footer section
- WordPress Plugin: Where should I put my cookies for cURL?
- WP Members additional fields on user profile [closed]
- Save post to category with gravity forms (post_data) [closed]
- How do I edit a plugin’s core properly?
- How to code a wordpress page properly? Dashboard or unique Theme files or alternative?
- wp_handle_upload – specified file failed upload test
- Split Million WordPress Post’s Into Multiple Database Server