Ticket #21368: 21368.16.2.no-customize.diff
| File 21368.16.2.no-customize.diff, 1.8 KB (added by , 13 years ago) |
|---|
-
wp-admin/includes/dashboard.php
1237 1237 <h3><?php _e( 'Welcome to WordPress!' ); ?></h3> 1238 1238 <p class="about-description"><?php _e( 'We’ve assembled some links to get you started:' ); ?></p> 1239 1239 <div class="welcome-panel-column-container"> 1240 <div class="welcome-panel-column ">1240 <div class="welcome-panel-column hide-if-no-customize"> 1241 1241 <h4><?php _e( 'Get Started' ); ?></h4> 1242 1242 <p><?php _e( 'First, tweak the look of your site:' ); ?></p> 1243 1243 <a class="button-primary welcome-button" href="<?php echo add_query_arg( 'url', urlencode( admin_url( '/' ) ), wp_customize_url() ); ?>"><?php _e( 'Customize Your Site' ); ?></a> -
wp-admin/admin-header.php
105 105 <?php 106 106 // If the customize-loader script is enqueued, make sure the customize 107 107 // body classes are correct as early as possible. 108 if ( wp_script_is( 'customize-loader', 'queue' ) && current_user_can( 'edit_theme_options' ) ) 108 if ( ( wp_script_is( 'customize-loader', 'queue' ) || 'dashboard' == $current_screen->base ) 109 && current_user_can( 'edit_theme_options' ) ) 109 110 wp_customize_support_script(); 110 111 ?> 111 112 -
wp-admin/css/wp-admin.css
2285 2285 float: none; 2286 2286 width: 100%; 2287 2287 } 2288 2289 .no-customize-support .welcome-panel .hide-if-no-customize { 2290 display: none; 2291 } 2288 2292 2289 2293 .welcome-panel .welcome-panel-column li { 2290 2294 display: inline-block;