WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/19/2020 10:15:36 PM (16 months 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/update.php

    r47857 r48097  
    945945 * @since 5.5.0
    946946 *
    947  * @param string $type    The type of update being checked: 'theme' or 'plugin'.
     947 * @param string $type The type of update being checked: 'theme' or 'plugin'.
    948948 * @return bool True if auto-updates are enabled for `$type`, false otherwise.
    949949 */
     
    952952        case 'plugin':
    953953            /**
    954              * Filters whether plugins manual auto-update is enabled.
     954             * Filters whether plugins auto-update is enabled.
    955955             *
    956956             * @since 5.5.0
     
    961961        case 'theme':
    962962            /**
    963              * Filters whether plugins manual auto-update is enabled.
     963             * Filters whether themes auto-update is enabled.
    964964             *
    965965             * @since 5.5.0
    966966             *
    967              * @param bool True if themes auto-update is enabled, false otherwise.
     967             * @param bool $enabled True if themes auto-update is enabled, false otherwise.
    968968             */
    969969            return apply_filters( 'themes_auto_update_enabled', true );
     
    974974
    975975/**
    976  * Determines the appropriate update message to be displayed.
     976 * Determines the appropriate auto-update message to be displayed.
    977977 *
    978978 * @since 5.5.0
Note: See TracChangeset for help on using the changeset viewer.