| @@ -92,12 +92,9 @@ | ||
| 92 | 92 | $csstidy->set_cfg( 'timestamp', false ); |
| 93 | 93 | $csstidy->set_cfg( 'template', 'highest' ); |
| 94 | 94 | |
| 95 | 95 | $csstidy->parse( $css ); |
| 96 | - $css = $csstidy->print->plain(); | |
| 97 | - | |
| 98 | - // Remove all CSS comments from the minified CSS code, as CSSTidy does not remove those inside a CSS selector. | |
| 99 | - return preg_replace( '!/\*[^*]*\*+([^/][^*]*\*+)*/\n?!', '', $css ); | |
| 96 | + return $csstidy->print->plain(); | |
| 100 | 97 | } |
| 101 | 98 | |
| 102 | 99 | /** |
| 103 | 100 | * Get the location (file path or URL) of the "Custom CSS" file, depending on whether it's a Multisite install or not. |