Ticket #38076: 38076.diff
| File 38076.diff, 708 bytes (added by , 4 years ago) |
|---|
-
wp-admin/admin-header.php
35 35 $title = strip_tags( $title ); 36 36 37 37 if ( is_network_admin() ) { 38 39 /* 40 * If multisite is not enabled, the get_network function is not available. 41 * We perform a multisite check to prevent a fatal error. 42 */ 43 if ( ! is_multisite() ) { 44 wp_redirect( admin_url() ); 45 exit; 46 } 38 47 /* translators: Network admin screen title. %s: Network title. */ 39 48 $admin_title = sprintf( __( 'Network Admin: %s' ), get_network()->site_name ); 40 49 } elseif ( is_user_admin() ) {