~robotparade/wordpress/stable

« back to all changes in this revision

Viewing changes to wp-admin/network.php

  • Committer: Jeff Waugh
  • Date: 2010-06-11 21:00:40 UTC
  • Revision ID: jdub@bethesignal.org-20100611210040-9narx3kdlayc8x39
WordPress 3.0 RC3

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
        if ( apply_filters( 'allow_subdirectory_install', false ) )
63
63
                return true;
64
64
 
 
65
        if ( defined( 'ALLOW_SUBDIRECTORY_INSTALL' ) && ALLOW_SUBDIRECTORY_INSTALL )
 
66
                return true;
 
67
 
65
68
        $post = $wpdb->get_row( "SELECT ID FROM $wpdb->posts WHERE post_date < DATE_SUB(NOW(), INTERVAL 1 MONTH) AND post_status = 'publish'" );
66
69
        if ( empty( $post ) )
67
70
                return true;