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