Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: wpmu_upgrade_page

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
87           if ( get_site_option( 'wpmu_upgrade_site' ) != $GLOBALS['wp_db_version'] ) :
88           ?>
89           <h3><?php _e( 'Database Upgrade Required' ); ?></h3>
90           <p><?php _e( 'WordPress has been updated! Before we send you on your way, we need to individually upgrade the sites in your network.' ); ?></p>
91           <?php endif; ?>
92
93           <p><?php _e( 'The database upgrade process may take a little while, so please be patient.' ); ?></p>
94           <p><a class="button" href="upgrade.php?action=upgrade"><?php _e( 'Upgrade Network' ); ?></a></p>
95           <?php
96           do_action( 'wpmu_upgrade_page' );
97      break;
98 }
99 ?>
100 </div>
101
102 <?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?>
103