Inline documentation for hooks in wp-admin/update-core.php.
Props JoshuaAbenazer, kpdesign. Fixes #25991. git-svn-id: https://develop.svn.wordpress.org/trunk@26894 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
74df859ebf
commit
9ad991985e
@ -521,6 +521,11 @@ if ( 'upgrade-core' == $action ) {
|
||||
if ( $core || $plugins || $themes )
|
||||
list_translation_updates();
|
||||
unset( $core, $plugins, $themes );
|
||||
/**
|
||||
* Fires after the core, plugin, and theme update tables.
|
||||
*
|
||||
* @since 2.9.0
|
||||
*/
|
||||
do_action( 'core_upgrade_preamble' );
|
||||
echo '</div>';
|
||||
include(ABSPATH . 'wp-admin/admin-footer.php');
|
||||
@ -627,5 +632,14 @@ if ( 'upgrade-core' == $action ) {
|
||||
require_once( ABSPATH . 'wp-admin/admin-footer.php' );
|
||||
|
||||
} else {
|
||||
do_action('update-core-custom_' . $action);
|
||||
/**
|
||||
* Fires for each custom update action on the WordPress Updates screen.
|
||||
*
|
||||
* The dynamic portion of the hook name, $action, refers to the
|
||||
* passed update action. The hook fires in lieu of all available
|
||||
* default update actions.
|
||||
*
|
||||
* @since 3.2.0
|
||||
*/
|
||||
do_action( "update-core-custom_{$action}" );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user