private function admin_page_notices() {
		$display = ( isset( $_GET['updated'] ) && is_multisite() )
				|| isset( $_GET['reset'] )
				|| isset( $_GET['refresh_transients'] );

		if ( $display ) {
			echo '<div class="updated"><p>';
		}
		if ( ( isset( $_GET['updated'] ) && '1' === $_GET['updated'] ) && is_multisite() ) {
			esc_html_e( 'Settings saved.', 'github-updater' );
		} elseif ( isset( $_GET['reset'] ) && '1' === $_GET['reset'] ) {
			esc_html_e( 'RESTful key reset.', 'github-updater' );
		} elseif ( isset( $_GET['refresh_transients'] ) && '1' === $_GET['refresh_transients'] ) {
			esc_html_e( 'Cache refreshed.', 'github-updater' );
		}
		if ( $display ) {
			echo '</p></div>';
		}
	}
private function admin_page_notices() {
		$display = ( isset( $_GET['updated'] ) && is_multisite() )
				|| isset( $_GET['reset'] )
				|| isset( $_GET['refresh_transients'] );

		if ( $display ) {
			echo '<div class="updated"><p>';
		}
		if ( ( isset( $_GET['updated'] ) && '1' === $_GET['updated'] ) && is_multisite() ) {
			esc_html_e( 'Settings saved.', 'github-updater' );
		} elseif ( isset( $_GET['reset'] ) && '1' === $_GET['reset'] ) {
			esc_html_e( 'RESTful key reset.', 'github-updater' );
		} elseif ( isset( $_GET['refresh_transients'] ) && '1' === $_GET['refresh_transients'] ) {
			esc_html_e( 'Cache refreshed.', 'github-updater' );
		}
		if ( $display ) {
			echo '</p></div>';
		}
	}
private function admin_page_notices ( ) { $ display = ( isset ( $ _GET [ 'updated' ] ) && is_multisite ( ) ) || isset ( $ _GET [ 'reset' ] ) || isset ( $ _GET [ 'refresh_transients' ] ) ; if ( $ display ) { echo '<div class="updated"><p>' ; } if ( ( isset ( $ _GET [ 'updated' ] ) && '1' === $ _GET [ 'updated' ] ) && is_multisite ( ) ) { esc_html_e ( 'Settings saved.' , 'github-updater' ) ; } elseif ( isset ( $ _GET [ 'reset' ] ) && '1' === $ _GET [ 'reset' ] ) { esc_html_e ( 'RESTful key reset.' , 'github-updater' ) ; } elseif ( isset ( $ _GET [ 'refresh_transients' ] ) && '1' === $ _GET [ 'refresh_transients' ] ) { esc_html_e ( 'Cache refreshed.' , 'github-updater' ) ; } if ( $ display ) { echo '</p></div>' ; } }
Display appropriate notice for Settings page actions.
Display appropriate notice for Settings page actions .