Changeset 1068
- Timestamp:
- 10/12/07 16:03:22 (11 months ago)
- Files:
-
- trunk/wp-signup.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-signup.php
r1062 r1068 2 2 define( "WP_INSTALLING", true ); 3 3 require( 'wp-config.php' ); 4 5 add_action( 'wp_head', 'signuppageheaders' ) ; 6 4 7 require( 'wp-blog-header.php' ); 5 8 require_once( ABSPATH . WPINC . '/registration.php' ); … … 11 14 12 15 do_action("signup_header"); 16 17 function signuppageheaders() { 18 echo "<meta name='robots' content='noindex,nofollow'>\n"; 19 } 13 20 14 21 if( $current_blog->domain . $current_blog->path != $current_site->domain . $current_site->path ) { … … 374 381 $active_signup = apply_filters( 'wpmu_active_signup', $active_signup ); // return "all", "none", "blog" or "user" 375 382 383 if( is_site_admin() ) { 384 echo "<div style='background: #faf; font-weight: bold; border: 1px solid #333; margin: 2px; padding: 2px'>Greetings Site Administrator! You are currently allowing '$active_signup' registrations. To change or disable registration go to your <a href='wp-admin/wpmu-options.php'>Options page</a>.</div>"; 385 } 386 376 387 $newblogname = isset($_GET['new']) ? strtolower(preg_replace('/^-|-$|[^-a-zA-Z0-9]/', '', $_GET['new'])) : null; 377 388 if( $_POST['blog_public'] != 1 )
