Changeset 19783 for trunk/wp-login.php
- Timestamp:
- 01/29/2012 06:47:41 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-login.php
r19712 r19783 77 77 78 78 do_action( 'login_enqueue_scripts' ); 79 do_action( 'login_head' ); ?> 79 do_action( 'login_head' ); 80 81 if ( is_multisite() ) { 82 $login_header_url = network_home_url(); 83 $login_header_title = $current_site->site_name; 84 } else { 85 $login_header_url = __( 'http://wordpress.org/' ); 86 $login_header_title = __( 'Powered by WordPress' ); 87 } 88 89 $login_header_url = apply_filters( 'login_headerurl', $login_header_url ); 90 $login_header_title = apply_filters( 'login_headertitle', $login_header_title ); 91 ?> 80 92 </head> 81 93 <body class="login"> 82 <?php if ( !is_multisite() ) { ?> 83 <div id="login"><h1><a href="<?php echo esc_url( apply_filters('login_headerurl', 'http://wordpress.org/') ); ?>" title="<?php echo esc_attr( apply_filters('login_headertitle', __( 'Powered by WordPress' ) ) ); ?>"><?php bloginfo('name'); ?></a></h1> 84 <?php } else { ?> 85 <div id="login"><h1><a href="<?php echo esc_url( apply_filters('login_headerurl', network_home_url() ) ); ?>" title="<?php echo esc_attr( apply_filters('login_headertitle', $current_site->site_name ) ); ?>"><span class="hide"><?php bloginfo('name'); ?></span></a></h1> 86 <?php } 94 <div id="login"> 95 <h1><a href="<?php echo esc_url( $login_header_url ); ?>" title="<?php echo esc_attr( $login_header_title ); ?>"><?php bloginfo( 'name' ); ?></a></h1> 96 <?php 97 unset( $login_header_url, $login_header_title ); 87 98 88 99 $message = apply_filters('login_message', $message);
Note: See TracChangeset
for help on using the changeset viewer.