PluginProbe
TablePress – Tables in WordPress made easy / 2.2
TablePress – Tables in WordPress made easy v2.2
3.3.4 3.3.3 3.3.2 3.3.1 trunk 1.12 1.14 1.9.2 2.0.4 2.1.7 2.1.8 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3 2.3.1 2.3.2 2.4 2.4.1 2.4.2 2.4.3 2.4.4 All 44 releases
← All changes | classes/class-css.php +1 -4 2.42.2 View file →
@@ -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.