Make WordPress Core


Ignore:
Timestamp:
06/19/2020 10:15:36 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Corrections and improvements to inline docs related to plugin and theme auto-updates.

See #50052, #49572

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-automatic-updater.php

    r48071 r48097  
    871871     * @since 5.5.0
    872872     *
    873      * @param object $results The result of updates tasks.
     873     * @param array $update_results The result of updates tasks.
    874874     */
    875875    protected function after_plugin_theme_update( $update_results ) {
     
    933933     * @since 5.5.0
    934934     *
    935      * @param string $type               The type of email to send. Can be one of 'success', 'failure', 'mixed'.
     935     * @param string $type               The type of email to send. Can be one of 'success', 'fail', 'mixed'.
    936936     * @param array  $successful_updates A list of updates that succeeded.
    937937     * @param array  $failed_updates     A list of updates that failed.
     
    10251025
    10261026        /**
    1027          * Filters the email sent following an automatic background plugin update.
     1027         * Filters the email sent following an automatic background update for plugins and themes.
    10281028         *
    10291029         * @since 5.5.0
    10301030         *
    1031          * @param array $email {
     1031         * @param array  $email {
    10321032         *     Array of email arguments that will be passed to wp_mail().
    10331033         *
     
    10401040         * @param string $type               The type of email being sent. Can be one of
    10411041         *                                   'success', 'fail', 'mixed'.
    1042          * @param object $successful_updates The updates that succeeded.
    1043          * @param object $failed_updates     The updates that failed.
     1042         * @param array $successful_updates The updates that succeeded.
     1043         * @param array $failed_updates     The updates that failed.
    10441044         */
    10451045        $email = apply_filters( 'auto_plugin_theme_update_email', $email, $type, $successful_updates, $failed_updates );
Note: See TracChangeset for help on using the changeset viewer.