Changeset 58308
- Timestamp:
- 06/03/2024 09:23:48 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-automatic-updater.php
r58285 r58308 471 471 * the scrape to miss a fatal error in the plugin update. 472 472 */ 473 $upgrader->maintenance_mode( true ); 473 if ( 'translation' !== $type ) { 474 $upgrader->maintenance_mode( true ); 475 } 474 476 475 477 // Boom, this site's about to get a whole new splash of paint! … … 496 498 * or while files are still being moved. 497 499 */ 498 $upgrader->maintenance_mode( true ); 500 if ( 'translation' !== $type ) { 501 $upgrader->maintenance_mode( true ); 502 } 499 503 500 504 // If the filesystem is unavailable, false is returned. … … 614 618 615 619 // All processes are complete. Allow visitors to browse the site again. 616 $upgrader->maintenance_mode( false ); 620 if ( 'translation' !== $type ) { 621 $upgrader->maintenance_mode( false ); 622 } 617 623 618 624 $this->update_results[ $type ][] = (object) array(
Note: See TracChangeset
for help on using the changeset viewer.