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