' . __( 'This site is able to apply these updates automatically. Cool!' ). '
'; // If the updater is disabled entirely, don't show them anything. } elseif ( ! $updater->is_disabled() ) { echo ''; // If this is is filtered to false, they won't get emails, so don't claim we will. // Assumption: If the user can update core, they can see what the admin email is. /** This filter is documented in wp-admin/includes/class-wp-upgrader.php */ if ( apply_filters( 'send_core_update_notification_email', true, $future_minor_update ) ) { printf( __( 'This site is not able to apply these updates automatically. But we’ll email %s when there is a new security release.' ), esc_html( get_site_option( 'admin_email' ) ) ); } else { _e( 'This site is not able to apply these updates automatically.' ); } echo '
'; } } ?>