Make WordPress Core

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

File class-wp-automatic-updater.php.3.patch, 1.1 KB (added by ankitmaru, 5 years ago)
  • src/wp-admin/includes/class-wp-automatic-updater.php

     
    7070         * @since 3.7.0
    7171         *
    7272         * @param string $context The filesystem path to check, in addition to ABSPATH.
     73         * @return bool
    7374         */
    7475        public function is_vcs_checkout( $context ) {
    7576                $context_dirs = array( untrailingslashit( $context ) );
     
    132133         * @param object $item    The update offer.
    133134         * @param string $context The filesystem context (a path) against which filesystem
    134135         *                        access and status should be checked.
     136         * @return bool
    135137         */
    136138        public function should_update( $type, $item, $context ) {
    137139                // Used to see if WP_Filesystem is set up to allow unattended updates.
     
    242244         * @since 3.7.0
    243245         *
    244246         * @param object $item The update offer.
     247         * @return bool
    245248         */
    246249        protected function send_core_update_notification_email( $item ) {
    247250                $notified = get_site_option( 'auto_core_update_notified' );