PluginProbe
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! / 2.2.13
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! v2.2.13
3.7.5 3.7.4 3.7.3 3.7.2 1-final 3.7.1 3.7.0 3.6.8 3.6.7 3.6.6 3.6.5 3.6.4 3.6.3 3.6.2 3.6.1 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.10 All 111 releases
← All changes | includes/Utils/Helper.php +2 -7 3.0.92.2.13 View file →
@@ -187,18 +187,13 @@
187 187 * @param mixed $log
188 188 * @return void
189 189 */
190 190 public static function log( $log ){
191 - if ( defined('WP_DEBUG_LOG') && WP_DEBUG_LOG === true ) {
191 + if ( WP_DEBUG_LOG === true ) {
192 192 if ( is_array( $log ) || is_object( $log ) ) {
193 193 error_log( print_r( $log, true ) );
194 194 } else {
195 - error_log( $log ?: '' );
195 + error_log( $log );
196 196 }
197 197 }
198 198 }
199 -
200 - public static function should_flush(){
201 - return (!defined('TEMPLATELY_IGNORE_FLUSH_ALL') || !TEMPLATELY_IGNORE_FLUSH_ALL) && strpos($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') === false;
202 - }
203 -
204 199 }