WordPress.org

Make WordPress Core

Ticket #25723: 25723.2.diff

File 25723.2.diff, 678 bytes (added by kpdesign, 8 years ago)

Minor changes to descriptions and code spacing.

  • src/wp-admin/update.php

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