Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

Commit

Permalink
Don't run upgrade script when installing. Props @mikeschinkel.
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Tadlock committed Oct 25, 2013
1 parent e0a85fa commit 0d2147c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions includes/update.php
Expand Up @@ -6,6 +6,10 @@
* @subpackage Includes
*/

/* Don't run when installing. */
if ( defined( 'WP_INSTALLING' ) && WP_INSTALLING )
return;

/* Hook our version check to 'init'. */
add_action( 'init', 'members_version_check' );

Expand Down

0 comments on commit 0d2147c

Please sign in to comment.