Make WordPress Core

Ticket #51385: class-wp-automatic-updater.php.2.patch

File class-wp-automatic-updater.php.2.patch, 895 bytes (added by ankitmaru, 5 years ago)
  • src/wp-admin/includes/class-wp-automatic-updater.php

     
    132132         * @param object $item    The update offer.
    133133         * @param string $context The filesystem context (a path) against which filesystem
    134134         *                        access and status should be checked.
     135         * @return bool
    135136         */
    136137        public function should_update( $type, $item, $context ) {
    137138                // Used to see if WP_Filesystem is set up to allow unattended updates.
     
    242243         * @since 3.7.0
    243244         *
    244245         * @param object $item The update offer.
     246         * @return bool
    245247         */
    246248        protected function send_core_update_notification_email( $item ) {
    247249                $notified = get_site_option( 'auto_core_update_notified' );