@@ 139-142 (lines=4) @@ | ||
136 | $instance = Jetpack::init(); |
|
137 | $log = array(); |
|
138 | // Bump numbers |
|
139 | if ( ! empty( $this->success['plugin'] ) ) { |
|
140 | $instance->stat( 'autoupdates/plugin-success', count( $this->success['plugin'] ) ); |
|
141 | $log['plugins_success'] = $this->success['plugin']; |
|
142 | } |
|
143 | ||
144 | if ( ! empty( $this->failed['plugin'] ) ) { |
|
145 | $instance->stat( 'autoupdates/plugin-fail', count( $this->failed['plugin'] ) ); |
|
@@ 144-147 (lines=4) @@ | ||
141 | $log['plugins_success'] = $this->success['plugin']; |
|
142 | } |
|
143 | ||
144 | if ( ! empty( $this->failed['plugin'] ) ) { |
|
145 | $instance->stat( 'autoupdates/plugin-fail', count( $this->failed['plugin'] ) ); |
|
146 | $log['plugins_failed'] = $this->failed['plugin']; |
|
147 | } |
|
148 | ||
149 | if ( ! empty( $this->success['theme'] ) ) { |
|
150 | $instance->stat( 'autoupdates/theme-success', count( $this->success['theme'] ) ); |