Changeset 14871 for trunk/wp-includes/ms-functions.php
- Timestamp:
- 05/25/2010 05:12:47 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/ms-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-functions.php
r14867 r14871 1303 1303 function maybe_redirect_404() { 1304 1304 global $current_site; 1305 if ( is_main_site() && is_404() && defined( 'NOBLOGREDIRECT' ) && ( $destination = NOBLOGREDIRECT ) ) {1305 if ( ( !defined( 'NO404REDIRECT' ) || ! NO404REDIRECT ) && is_main_site() && is_404() && defined( 'NOBLOGREDIRECT' ) && ( $destination = NOBLOGREDIRECT ) ) { 1306 1306 if ( $destination == '%siteurl%' ) 1307 1307 $destination = network_home_url();
Note: See TracChangeset
for help on using the changeset viewer.