Changeset 27111
- Timestamp:
- 02/06/2014 10:15:25 PM (11 years ago)
- Location:
- trunk/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/user-profile.js
r26776 r27111 96 96 // Set color scheme 97 97 if ( user_id === current_user_id ) { 98 // Load the colors stylesheet 98 // Load the colors stylesheet. 99 // The default color scheme won't have one, so we'll need to create an element. 100 if ( 0 === $stylesheet.length ) { 101 $stylesheet = $( '<link rel="stylesheet" />' ).appendTo( 'head' ); 102 } 99 103 $stylesheet.attr( 'href', $this.children( '.css_url' ).val() ); 100 104 -
trunk/src/wp-includes/class.wp-styles.php
r26107 r27111 63 63 64 64 $href = $this->_css_href( $obj->src, $ver, $handle ); 65 if ( empty( $href ) ) { 66 // Turns out there is nothing to print. 67 return true; 68 } 65 69 $rel = isset($obj->extra['alt']) && $obj->extra['alt'] ? 'alternate stylesheet' : 'stylesheet'; 66 70 $title = isset($obj->extra['title']) ? "title='" . esc_attr( $obj->extra['title'] ) . "'" : ''; -
trunk/src/wp-includes/general-template.php
r26975 r27111 2104 2104 2105 2105 wp_admin_css_color( 'fresh', _x( 'Default', 'admin color scheme' ), 2106 admin_url( "css/colors$suffix.css" ),2106 false, 2107 2107 array( '#222', '#333', '#0074a2', '#2ea2cc' ), 2108 2108 array( 'base' => '#999', 'focus' => '#2ea2cc', 'current' => '#fff' ) -
trunk/src/wp-includes/script-loader.php
r27106 r27111 588 588 589 589 // Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string. 590 590 591 $styles->add( 'colors', true, array( 'wp-admin', 'buttons', 'open-sans', 'dashicons' ) ); 591 592 … … 696 697 $url = $color->url; 697 698 699 if ( ! $url ) { 700 return false; 701 } 702 698 703 if ( isset($parsed['query']) && $parsed['query'] ) { 699 704 wp_parse_str( $parsed['query'], $qv ); -
trunk/src/wp-includes/version.php
r27062 r27111 5 5 * @global string $wp_version 6 6 */ 7 $wp_version = '3.9-alpha- src';7 $wp_version = '3.9-alpha-27111-src'; 8 8 9 9 /**
Note: See TracChangeset
for help on using the changeset viewer.