Yoast_Update_Manager::show_update_error PHP Method

show_update_error() public method

If the update check returned a WP_Error, show it to the user
public show_update_error ( )
        public function show_update_error()
        {
            if ($this->error_message === '') {
                return;
            }
            ?>
			<div class="notice notice-error yoast-notice-error">
				<p><?php 
            printf(__('%s failed to check for updates because of the following error: <em>%s</em>', $this->product->get_text_domain()), $this->product->get_item_name(), $this->error_message);
            ?>
</p>
			</div>
			<?php 
        }