send_email( $type, $core_update ); } /** * Core's "some plugins were automatically updated" email. * * @param string $type success, fail or mixed. * @param array $successful Updated items, by plugin/theme. * @param array $failed Failed items, by plugin/theme. * @return void */ public function plugin_theme_email( $type, array $successful, array $failed ) { $this->send_plugin_theme_email( $type, $successful, $failed ); } /** * Core's debug email, which development versions send after every update run. * * @param array $results What the run did, by type, as core records it. * @return void */ public function debug_email( array $results ) { $this->update_results = $results; $this->send_debug_email(); } }