Changeset 8115 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/inc/template-tags.php
- Timestamp:
- 01/20/2019 11:07:15 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/inc/template-tags.php
r7602 r8115 179 179 switch ( $post_status ) { 180 180 case 'publish': 181 $tested_up_to = (string) get_post_meta( get_post( $post )->ID, 'tested', true ); 182 $version_to_check_against = (string) ( get_current_major_wp_version() - 0.2 ); 183 if ( version_compare( $version_to_check_against, $tested_up_to, '>' ) ) { 181 if ( Template::is_plugin_outdated( $post ) ) { 184 182 $message = sprintf( 185 183 $warning_notice,
Note: See TracChangeset
for help on using the changeset viewer.