From 17404767a2474db83509bedb4b46b63d6cab17a2 Mon Sep 17 00:00:00 2001 From: ozh Date: Fri, 27 Dec 2013 19:21:25 +0100 Subject: [PATCH] Proper "dude, update" message --- includes/functions-html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/functions-html.php b/includes/functions-html.php index 4a9718e..dff4c8d 100644 --- a/includes/functions-html.php +++ b/includes/functions-html.php @@ -885,8 +885,8 @@ function yourls_new_core_version_notice() { $checks = yourls_get_option( 'core_version_checks' ); if( isset( $checks->last_result->latest ) AND version_compare( $checks->last_result->latest, YOURLS_VERSION, '>' ) ) { - yourls_add_notice( $checks->last_result->latest . ' : '. $checks->last_result->zipurl ); + $msg = yourls_s( 'YOURLS version %s is available. Please update!', 'http://yourls.org/download', $checks->last_result->latest ); + yourls_add_notice( $msg ); } } - -- 2.45.0