src/class-plugin-checker.php
public function notify() {
		if ( $this->requirements_met() ) {
			return;
		}

		echo '<div class="notice notice-error">';

		foreach ( $this->requirements as $requirement ) {
			if ( $requirement->is_met() ) {
				continue;
			}

			printf(
				'<p>%s deactivated: %s</p>',
				esc_html( $this->name ),
				esc_html( $requirement->get_message() )
			);
		}

		echo '</div>';
	}
public function notify() {
		if ( $this->requirements_met() ) {
			return;
		}

		echo '<div class="notice notice-error">';

		foreach ( $this->requirements as $requirement ) {
			if ( $requirement->is_met() ) {
				continue;
			}

			printf(
				'<p>%s deactivated: %s</p>',
				esc_html( $this->name ),
				esc_html( $requirement->get_message() )
			);
		}

		echo '</div>';
	}
public function notify ( ) { if ( $ this -> requirements_met ( ) ) { return ; } echo '<div class="notice notice-error">' ; foreach ( $ this -> requirements as $ requirement ) { if ( $ requirement -> is_met ( ) ) { continue ; } printf ( '<p>%s deactivated: %s</p>' , esc_html ( $ this -> name ) , esc_html ( $ requirement -> get_message ( ) ) ) ; } echo '</div>' ; }
Print an admin notice for each failed requirement.
Print an admin notice for each failed requirement .