Skip to content

Commit 81d1c6d

Browse files
Use wp_admin_css() to enqueue stylesheets in setup-config.php.
fixes #29464. git-svn-id: https://develop.svn.wordpress.org/trunk@29670 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 21aa725 commit 81d1c6d

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

src/wp-admin/setup-config.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,10 @@ function setup_config_display_header( $body_classes = array() ) {
7777
<!DOCTYPE html>
7878
<html xmlns="http://www.w3.org/1999/xhtml"<?php if ( is_rtl() ) echo ' dir="rtl"'; ?>>
7979
<head>
80-
<meta name="viewport" content="width=device-width" />
81-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
82-
<title><?php _e( 'WordPress &rsaquo; Setup Configuration File' ); ?></title>
83-
<link rel="stylesheet" href="css/install.css?ver=<?php echo preg_replace( '/[^0-9a-z\.-]/i', '', $wp_version ); ?>" type="text/css" />
84-
<link rel="stylesheet" href="../<?php echo WPINC ?>/css/buttons.css?ver=<?php echo preg_replace( '/[^0-9a-z\.-]/i', '', $wp_version ); ?>" type="text/css" />
85-
80+
<meta name="viewport" content="width=device-width" />
81+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
82+
<title><?php _e( 'WordPress &rsaquo; Setup Configuration File' ); ?></title>
83+
<?php wp_admin_css( 'install', true ); ?>
8684
</head>
8785
<body class="<?php echo implode( ' ', $body_classes ); ?>">
8886
<h1 id="logo"><a href="<?php esc_attr_e( 'https://wordpress.org/' ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></h1>

0 commit comments

Comments
 (0)