Changeset 19878
- Timestamp:
- 02/08/2012 06:03:25 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/canonical.php
r19877 r19878 94 94 95 95 if ( ! $redirect_url && get_option( 'home' ) != get_option( 'siteurl' ) ) { 96 if ( $original['path']== home_url( 'wp-admin/', 'relative' ) )96 if ( trailingslashit( $original['path'] ) == home_url( 'wp-admin/', 'relative' ) ) 97 97 $redirect_url = admin_url(); 98 98 elseif ( $original['path'] == home_url( 'wp-login.php', 'relative' ) )
Note: See TracChangeset
for help on using the changeset viewer.