diff -u wordpress-2.3.3/debian/changelog wordpress-2.3.3/debian/changelog --- wordpress-2.3.3/debian/changelog +++ wordpress-2.3.3/debian/changelog @@ -1,3 +1,9 @@ +wordpress (2.3.3-1ubuntu2) hardy-proposed; urgency=low + + * suppress the "new release available. please update" warning. LP: #227547 + + -- Rolf Leggewie Fri, 14 Nov 2008 16:54:29 +0100 + wordpress (2.3.3-1ubuntu1) hardy; urgency=low * Merge from Debian unstable (LP: #189481), Ubuntu remaining changes: only in patch2: unchanged: --- wordpress-2.3.3.orig/wp-admin/includes/update.php +++ wordpress-2.3.3/wp-admin/includes/update.php @@ -31,10 +31,10 @@ if ( ! isset( $cur->response ) || $cur->response != 'upgrade' ) return false; - if ( current_user_can('manage_options') ) - $msg = sprintf( __('A new version of WordPress is available! Please update now.'), $cur->url ); - else - $msg = __('A new version of WordPress is available! Please notify the site administrator.'); +// if ( current_user_can('manage_options') ) +// $msg = sprintf( __('A new version of WordPress is available! Please update now.'), $cur->url ); +// else +// $msg = __('A new version of WordPress is available! Please notify the site administrator.'); echo "
$msg
"; }