Core support for partial updates. see #10611.

git-svn-id: https://develop.svn.wordpress.org/trunk@18225 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2011-06-10 05:47:44 +00:00
parent 167cc1953f
commit b2c50ddc56
4 changed files with 35 additions and 24 deletions

View File

@@ -71,7 +71,7 @@ function list_core_update( $update ) {
} else {
submit_button( $submit, 'button', 'upgrade', false );
}
echo '&nbsp;<a href="' . esc_url( $update->package ) . '" class="button">' . $download . '</a>&nbsp;';
echo '&nbsp;<a href="' . esc_url( $update->download ) . '" class="button">' . $download . '</a>&nbsp;';
}
if ( 'en_US' != $update->locale )
if ( !isset( $update->dismissed ) || !$update->dismissed )