Ticket #25991: 25991.diff
| File 25991.diff, 1.0 KB (added by , 12 years ago) |
|---|
-
src/wp-admin/update-core.php
521 521 if ( $core || $plugins || $themes ) 522 522 list_translation_updates(); 523 523 unset( $core, $plugins, $themes ); 524 do_action('core_upgrade_preamble'); 524 /** 525 * Fires after the core, plugin, and theme update tables. 526 * 527 * @since 2.9.0 528 */ 529 do_action( 'core_upgrade_preamble' ); 525 530 echo '</div>'; 526 531 include(ABSPATH . 'wp-admin/admin-footer.php'); 527 532 … … 627 632 require_once( ABSPATH . 'wp-admin/admin-footer.php' ); 628 633 629 634 } else { 630 do_action('update-core-custom_' . $action); 635 /** 636 * Fires for each custom update action on the WordPress Updates screen. 637 * 638 * The dynamic portion of the hook name, $action, refers to the 639 * passed update action. The hook fires in lieu of all available 640 * default update actions. 641 * 642 * @since 3.2.0 643 */ 644 do_action( "update-core-custom_{$action}" ); 631 645 }