display_header( string $body_classes = '' )
Display installation header.
Description Description
Parameters Parameters
- $body_classes
-
(string) (Optional)
Default value: ''
Source Source
File: wp-admin/install.php
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | function display_header( $body_classes = '' ) { header( 'Content-Type: text/html; charset=utf-8' ); if ( is_rtl() ) { $body_classes .= 'rtl' ; } if ( $body_classes ) { $body_classes = ' ' . $body_classes ; } ?> <!DOCTYPE html> <head> <meta name= "viewport" content= "width=device-width" /> <meta http-equiv= "Content-Type" content= "text/html; charset=utf-8" /> <meta name= "robots" content= "noindex,nofollow" /> <title><?php _e( 'WordPress › Installation' ); ?></title> <?php wp_admin_css( 'install' , true ); wp_admin_css( 'dashicons' , true ); ?> </head> <body class = "wp-core-ui<?php echo $body_classes; ?>" > <p id= "logo" ><a href= "<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" ><?php _e( 'WordPress' ); ?></a></p> <?php } // end display_header() |
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |