WordPress.org

Make WordPress Core

Ticket #4064: upgrade_hooks.patch

File upgrade_hooks.patch, 517 bytes (added by Martin2006, 10 years ago)

patch for upgrade section of enhancement suggestion

  • wp-admin/upgrade.php

     
    4343<?php
    4444                break;
    4545        case 1:
     46                do_action('pre_upgrade', $wp_db_version);
    4647                wp_upgrade();
     48                do_action('post_upgrade', $wp_db_version);
    4749
    4850                if ( empty( $_GET['backto'] ) )
    4951                        $backto = __get_option('home') . '/';
     
    6870                break;
    6971endswitch;
    7072endif;
     73
    7174?>
    7275</body>
    7376</html>
     77 No newline at end of file