Index: wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php
===================================================================
--- wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php	(revision 5726)
+++ wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php	(working copy)
@@ -259,6 +259,35 @@
 } );
 
 /**
+ * Get current major WP version to check against "Tested up to" value.
+ *
+ * @return string Current major WP version.
+ */
+function get_current_major_wp_version() {
+	global $wp_version;
+
+	$current_version = '';
+
+	// Assume the value stored in a constant (which is set on WP.org), if defined.
+	if ( defined( 'WP_CORE_LATEST_RELEASE' ) && WP_CORE_LATEST_RELEASE ) {
+		$current_version = substr( WP_CORE_LATEST_RELEASE, 0, 3 );
+	}
+
+	// Otherwise, use the version of the running WP instance.
+	if ( empty( $current_version ) ) {
+		$current_version = substr( $wp_version, 0, 3 );
+
+		// However, if the running WP instance appears to not be a release
+		// version, assume the latest stable version.
+		if ( false !== strpos( $wp_version, '-' ) ) {
+			$current_version = (string) ( (float) $current_version - 0.1 );
+		}
+	}
+
+	return $current_version;
+}
+
+/**
  * Custom template tags for this theme.
  */
 require get_template_directory() . '/inc/template-tags.php';
Index: wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin-single.php
===================================================================
--- wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin-single.php	(revision 5726)
+++ wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin-single.php	(working copy)
@@ -15,13 +15,15 @@
 
 $content = Plugin_Directory::instance()->split_post_content_into_pages( get_the_content() );
 
+$tested_up_to             = (string) get_post_meta( $post->ID, 'tested', true );
+$version_to_check_against = (string) ( (float) get_current_major_wp_version() - 0.2 );
 ?><article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
 	<?php echo Template::get_plugin_banner( get_post(), 'html' ); ?>
 
 	<header class="plugin-header">
-		<?php if ( time() - get_post_modified_time() > 2 * YEAR_IN_SECONDS ) : ?>
+		<?php if ( version_compare( $version_to_check_against, $tested_up_to, '>' ) ) : ?>
 			<div class="plugin-notice notice notice-warning notice-alt">
-				<p><?php _e( 'This plugin <strong>hasn&#146;t been updated in over 2 years</strong>. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.', 'wporg-plugins' ); ?></p>
+				<p><?php _e( '<strong>This plugin hasn&#146;t been tested with the latest 3 major releases of WordPress</strong>. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.', 'wporg-plugins' ); ?></p>
 			</div><!-- .plugin-notice -->
 		<?php endif; ?>
 		<?php if ( 'publish' != get_post()->post_status ) :
