PluginProbe
Elementor Website Builder – more than just a page builder / 3.26.2
Elementor Website Builder – more than just a page builder v3.26.2
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
← All changes | core/logger/items/base.php +3 -3 4.2.03.26.2 View file →
@@ -1,9 +1,9 @@
1 1 <?php
2 2 namespace Elementor\Core\Logger\Items;
3 3
4 4 if ( ! defined( 'ABSPATH' ) ) {
5 - exit; // Exit if accessed directly.
5 + exit; // Exit if accessed directly
6 6 }
7 7
8 8 class Base implements Log_Item_Interface {
9 9
@@ -103,9 +103,9 @@
103 103 }
104 104
105 105 public function get_fingerprint() {
106 106 $unique_key = $this->type . $this->message . var_export( $this->meta, true ); // @codingStandardsIgnoreLine
107 - // Info messages are not be aggregated:
107 + //info messages are not be aggregated:
108 108 if ( 'info' === $this->type ) {
109 109 $unique_key .= $this->date;
110 110 }
111 111 return md5( $unique_key );
@@ -111,9 +111,9 @@
111 111 return md5( $unique_key );
112 112 }
113 113
114 114 public function increase_times( $item, $truncate = true ) {
115 - ++$this->times;
115 + $this->times++;
116 116 $this->times_dates[] = $item->date;
117 117
118 118 if ( $truncate && ( self::MAX_LOG_ENTRIES < count( $this->times_dates ) ) ) {
119 119 $this->times_dates = array_slice( $this->times_dates, -self::MAX_LOG_ENTRIES );