PluginProbe
BlockSpare – Gutenberg Blocks, AI Content Generator & Site Builder for News, Magazine & Blogs / 2.6.6
BlockSpare – Gutenberg Blocks, AI Content Generator & Site Builder for News, Magazine & Blogs v2.6.6
5.0.1 4.1.0 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 2.1.2 2.5.0 2.5.3 All 39 releases
← All changes | freemius/includes/class-fs-logger.php +4 -3 1.3.3 → 2.6.6 View file →
@@ -37,11 +37,12 @@
37 37 private static $CNT = 0;
38 38 private static $_HOOKED_FOOTER = false;
39 39
40 40 private function __construct( $id, $on = false, $echo = false ) {
41 + $bt = debug_backtrace();
42 +
41 43 $this->_id = $id;
42 44
43 - $bt = debug_backtrace();
44 45 $caller = $bt[2];
45 46
46 47 if ( false !== strpos( $caller['file'], 'plugins' ) ) {
47 48 $this->_file_start = strpos( $caller['file'], 'plugins' ) + strlen( 'plugins/' );
@@ -141,9 +142,9 @@
141 142 function get_file() {
142 143 return $this->_file_start;
143 144 }
144 145
145 - private function _log( &$message, $type = 'log', $wrapper ) {
146 + private function _log( &$message, $type, $wrapper = false ) {
146 147 if ( ! $this->is_on() ) {
147 148 return;
148 149 }
149 150
@@ -687,5 +688,5 @@
687 688 return rtrim( $upload_dir['url'], '/' ) . $filename;
688 689 }
689 690
690 691 #endregion
691 - }
692 + }