WordPress.org

Plugin Directory

Changeset 726838


Ignore:
Timestamp:
06/15/13 02:45:17 (10 months ago)
Author:
tillkruess
Message:

remove suffix from 'admin-bar', 'media-views' and 'wp-admin' styles to make them work with SCRIPT_DEBUG set to false

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mp6/trunk/mp6.php

    r726808 r726838  
    8181    $wp_styles->registered[ 'admin-bar' ]->deps[] = 'open-sans'; 
    8282    $wp_styles->registered[ 'admin-bar' ]->deps[] = 'dashicons'; 
     83    $wp_styles->registered[ 'admin-bar' ]->extra[ 'suffix' ] = ''; 
    8384} 
    8485 
     
    9596    $wp_styles->registered[ 'media-views' ]->src = plugins_url( 'css/media-views.css', __FILE__ ); 
    9697    $wp_styles->registered[ 'media-views' ]->ver = filemtime( plugin_dir_path( __FILE__ ) . 'css/media-views.css' ); 
     98    $wp_styles->registered[ 'media-views' ]->extra[ 'suffix' ] = ''; 
    9799    $wp_styles->registered[ 'wp-admin' ]->src = plugins_url( 'css/wp-admin.css', __FILE__ ); 
    98100    $wp_styles->registered[ 'wp-admin' ]->ver = filemtime( plugin_dir_path( __FILE__ ) . 'css/wp-admin.css' ); 
    99101    $wp_styles->registered[ 'wp-admin' ]->deps[] = 'open-sans'; 
    100102    $wp_styles->registered[ 'wp-admin' ]->deps[] = 'dashicons'; 
     103    $wp_styles->registered[ 'wp-admin' ]->extra[ 'suffix' ] = ''; 
    101104    $wp_styles->registered[ 'wp-pointer' ]->src = plugins_url( 'css/wp-pointer.css', __FILE__ ); 
    102105    $wp_styles->registered[ 'wp-pointer' ]->ver = filemtime( plugin_dir_path( __FILE__ ) . 'css/wp-pointer.css' ); 
     
    129132    html { margin-top: 32px !important; } 
    130133    * html body { margin-top: 32px !important; } 
    131      
     134 
    132135    @media screen and ( max-width: 782px ) { 
    133136        html { margin-top: 46px !important; } 
Note: See TracChangeset for help on using the changeset viewer.