diff --git wp-includes/update.php wp-includes/update.php
index b620506..bb651c0 100644
|
|
function wp_update_plugins() { |
214 | 214 | else |
215 | 215 | $new_option->response = array(); |
216 | 216 | |
| 217 | $new_option = apply_filters( 'wp_update_plugins_response', $new_option ); |
217 | 218 | set_site_transient( 'update_plugins', $new_option ); |
218 | 219 | } |
219 | 220 | |
… |
… |
function wp_update_themes() { |
320 | 321 | if ( is_array( $response ) ) |
321 | 322 | $new_update->response = $response; |
322 | 323 | |
| 324 | $new_update = apply_filters( 'wp_update_themes_response', $new_update ); |
323 | 325 | set_site_transient( 'update_themes', $new_update ); |
324 | 326 | } |
325 | 327 | |