diff --git wp-includes/update.php wp-includes/update.php
index c0eaf1b..13b5741 100644
|
|
function wp_version_check( $extra_stats = array() ) { |
142 | 142 | if ( isset( $body['translations'] ) ) |
143 | 143 | $updates->translations = $body['translations']; |
144 | 144 | |
| 145 | $updates = apply_filters( 'core_version_check_response', $updates ); |
145 | 146 | set_site_transient( 'update_core', $updates); |
146 | 147 | } |
147 | 148 | |
… |
… |
function wp_update_plugins() { |
269 | 270 | $new_option->translations = array(); |
270 | 271 | } |
271 | 272 | |
| 273 | $new_option = apply_filters( 'plugins_update_check_response', $new_option ); |
272 | 274 | set_site_transient( 'update_plugins', $new_option ); |
273 | 275 | } |
274 | 276 | |
… |
… |
function wp_update_themes() { |
402 | 404 | $new_update->translations = $response['translations']; |
403 | 405 | } |
404 | 406 | |
| 407 | $new_update = apply_filters( 'themes_update_check_response', $new_update ); |
405 | 408 | set_site_transient( 'update_themes', $new_update ); |
406 | 409 | } |
407 | 410 | |