@@ 163-166 (lines=4) @@ | ||
160 | $instance = Jetpack::init(); |
|
161 | $log = array(); |
|
162 | // Bump numbers |
|
163 | if ( ! empty( $this->success['plugin'] ) ) { |
|
164 | $instance->stat( 'autoupdates/plugin-success', count( $this->success['plugin'] ) ); |
|
165 | $log['plugins_success'] = $this->success['plugin']; |
|
166 | } |
|
167 | ||
168 | if ( ! empty( $this->failed['plugin'] ) ) { |
|
169 | $instance->stat( 'autoupdates/plugin-fail', count( $this->failed['plugin'] ) ); |
|
@@ 168-171 (lines=4) @@ | ||
165 | $log['plugins_success'] = $this->success['plugin']; |
|
166 | } |
|
167 | ||
168 | if ( ! empty( $this->failed['plugin'] ) ) { |
|
169 | $instance->stat( 'autoupdates/plugin-fail', count( $this->failed['plugin'] ) ); |
|
170 | $log['plugins_failed'] = $this->failed['plugin']; |
|
171 | } |
|
172 | ||
173 | if ( ! empty( $this->success['theme'] ) ) { |
|
174 | $instance->stat( 'autoupdates/theme-success', count( $this->success['theme'] ) ); |