Changeset 14899
- Timestamp:
- 05/25/2010 06:12:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-functions.php
r14892 r14899 1304 1304 function maybe_redirect_404() { 1305 1305 global $current_site; 1306 if ( ( !defined( 'NO404REDIRECT' ) || ! NO404REDIRECT) && is_main_site() && is_404() && defined( 'NOBLOGREDIRECT' ) && ( $destination = NOBLOGREDIRECT ) ) {1306 if ( apply_filters( 'blog_redirect_404', true ) && is_main_site() && is_404() && defined( 'NOBLOGREDIRECT' ) && ( $destination = NOBLOGREDIRECT ) ) { 1307 1307 if ( $destination == '%siteurl%' ) 1308 1308 $destination = network_home_url();
Note: See TracChangeset
for help on using the changeset viewer.