PluginProbe
Automatic YouTube Gallery – Embed Auto-Updating YouTube Video Galleries, Feeds, Playlists & Channels / 2.3.8
Automatic YouTube Gallery – Embed Auto-Updating YouTube Video Galleries, Feeds, Playlists & Channels v2.3.8
2.9.1 2.9.0 trunk 1.0.0 1.1.0 1.2.0 1.3.0 1.4.0 1.5.0 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 2.0.0 2.1.0 2.2.0 2.3.2 2.3.3 2.3.5 2.3.6 2.3.8 2.3.9 2.4.3 All 37 releases
← All changes | freemius/includes/class-fs-logger.php +4 -3 1.3.02.3.8 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 + }