public function show_403_error_message() {
		$_403       = false;
		$error_code = $this->get_error_codes();
		foreach ( (array) $error_code as $repo ) {
			if ( ( ! $_403 && isset( $repo['code'], $repo['git'] ) )
				&& 403 === $repo['code'] && 'github' === $repo['git'] ) {
				$_403 = true;
				if ( ! \PAnD::is_admin_notice_active( '403-error-1' ) ) {
					return;
				} ?>
				<div data-dismissible="403-error-1" class="notice-error notice is-dismissible">
					<p>
						<?php
						esc_html_e( 'GitHub Updater Error Code:', 'github-updater' );
						echo ' ' . $repo['code'];
						?>
						<br>
						<?php
						printf(
							/* translators: %s: wait time */
							esc_html__( 'GitHub API&#8217;s rate limit will reset in %s minutes.', 'github-updater' ),
							$repo['wait']
						);
						echo '<br>';
						printf(
							/* translators: %s: GitHub personal access token URL */
							wp_kses_post( __( 'It looks like you are running into GitHub API rate limits. Be sure and configure a <a href="%s">Personal Access Token</a> to avoid this issue.', 'github-updater' ) ),
							esc_url( 'https://help.github.com/articles/creating-an-access-token-for-command-line-use/' )
						);
						?>
					</p>
				</div>
				<?php
			}
		}
	}
public function show_403_error_message() {
		$_403       = false;
		$error_code = $this->get_error_codes();
		foreach ( (array) $error_code as $repo ) {
			if ( ( ! $_403 && isset( $repo['code'], $repo['git'] ) )
				&& 403 === $repo['code'] && 'github' === $repo['git'] ) {
				$_403 = true;
				if ( ! \PAnD::is_admin_notice_active( '403-error-1' ) ) {
					return;
				} ?>
				<div data-dismissible="403-error-1" class="notice-error notice is-dismissible">
					<p>
						<?php
						esc_html_e( 'GitHub Updater Error Code:', 'github-updater' );
						echo ' ' . $repo['code'];
						?>
						<br>
						<?php
						printf(
							/* translators: %s: wait time */
							esc_html__( 'GitHub API&#8217;s rate limit will reset in %s minutes.', 'github-updater' ),
							$repo['wait']
						);
						echo '<br>';
						printf(
							/* translators: %s: GitHub personal access token URL */
							wp_kses_post( __( 'It looks like you are running into GitHub API rate limits. Be sure and configure a <a href="%s">Personal Access Token</a> to avoid this issue.', 'github-updater' ) ),
							esc_url( 'https://help.github.com/articles/creating-an-access-token-for-command-line-use/' )
						);
						?>
					</p>
				</div>
				<?php
			}
		}
	}
public function show_403_error_message ( ) { $ _403 = false ; $ error_code = $ this -> get_error_codes ( ) ; foreach ( ( array ) $ error_code as $ repo ) { if ( ( ! $ _403 && isset ( $ repo [ 'code' ] , $ repo [ 'git' ] ) ) && 403 === $ repo [ 'code' ] && 'github' === $ repo [ 'git' ] ) { $ _403 = true ; if ( ! \ PAnD :: is_admin_notice_active ( '403-error-1' ) ) { return ; } ?>
				<div data-dismissible="403-error-1" class="notice-error notice is-dismissible">
					<p>
						<?php esc_html_e ( 'GitHub Updater Error Code:' , 'github-updater' ) ; echo ' ' . $ repo [ 'code' ] ; ?>
						<br>
						<?php printf ( /* translators: %s: wait time */ esc_html__ ( 'GitHub API&#8217;s rate limit will reset in %s minutes.' , 'github-updater' ) , $ repo [ 'wait' ] ) ; echo '<br>' ; printf ( /* translators: %s: GitHub personal access token URL */ wp_kses_post ( __ ( 'It looks like you are running into GitHub API rate limits. Be sure and configure a <a href="%s">Personal Access Token</a> to avoid this issue.' , 'github-updater' ) ) , esc_url ( 'https://help.github.com/articles/creating-an-access-token-for-command-line-use/' ) ) ; ?>
					</p>
				</div>
				<?php } } }
Create error message for 403 error.
Usually 403 as API rate limit max out.
Create error message for 403 error . Usually 403 as API rate limit max out .