Make WordPress Core

Changeset 29670


Ignore:
Timestamp:
09/02/2014 08:53:23 AM (10 years ago)
Author:
SergeyBiryukov
Message:

Use wp_admin_css() to enqueue stylesheets in setup-config.php.

fixes #29464.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/setup-config.php

    r29669 r29670  
    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 ); ?>">
Note: See TracChangeset for help on using the changeset viewer.