Ticket #51385: class-wp-automatic-updater.php.2.patch
| File class-wp-automatic-updater.php.2.patch, 895 bytes (added by , 5 years ago) |
|---|
-
src/wp-admin/includes/class-wp-automatic-updater.php
132 132 * @param object $item The update offer. 133 133 * @param string $context The filesystem context (a path) against which filesystem 134 134 * access and status should be checked. 135 * @return bool 135 136 */ 136 137 public function should_update( $type, $item, $context ) { 137 138 // Used to see if WP_Filesystem is set up to allow unattended updates. … … 242 243 * @since 3.7.0 243 244 * 244 245 * @param object $item The update offer. 246 * @return bool 245 247 */ 246 248 protected function send_core_update_notification_email( $item ) { 247 249 $notified = get_site_option( 'auto_core_update_notified' );