WordPress.org

Make WordPress Core

Ticket #25723: 25723.update.php.patch

File 25723.update.php.patch, 599 bytes (added by ninio, 8 years ago)
  • update.php

     
    252252                include(ABSPATH . 'wp-admin/admin-footer.php');
    253253
    254254        } else {
     255                /**
     256                 * Fires a custom update function.
     257                 *
     258                 * The dynamic portion of the hook name, $action, refers to the action
     259                 * that was provided in the request for the wp-admin/update.php. Can
     260                 * be used to provide custom update functionality for themes and
     261                 * plugins.
     262                 *
     263                 * @since 2.8.0
     264                 */
    255265                do_action('update-custom_' . $action);
    256266        }
    257267}