Changeset 48097
- Timestamp:
- 06/19/2020 10:15:36 PM (4 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-automatic-updater.php
r48071 r48097 871 871 * @since 5.5.0 872 872 * 873 * @param object $results The result of updates tasks.873 * @param array $update_results The result of updates tasks. 874 874 */ 875 875 protected function after_plugin_theme_update( $update_results ) { … … 933 933 * @since 5.5.0 934 934 * 935 * @param string $type The type of email to send. Can be one of 'success', 'fail ure', 'mixed'.935 * @param string $type The type of email to send. Can be one of 'success', 'fail', 'mixed'. 936 936 * @param array $successful_updates A list of updates that succeeded. 937 937 * @param array $failed_updates A list of updates that failed. … … 1025 1025 1026 1026 /** 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. 1028 1028 * 1029 1029 * @since 5.5.0 1030 1030 * 1031 * @param array $email {1031 * @param array $email { 1032 1032 * Array of email arguments that will be passed to wp_mail(). 1033 1033 * … … 1040 1040 * @param string $type The type of email being sent. Can be one of 1041 1041 * '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. 1044 1044 */ 1045 1045 $email = apply_filters( 'auto_plugin_theme_update_email', $email, $type, $successful_updates, $failed_updates ); -
trunk/src/wp-admin/includes/update.php
r47857 r48097 945 945 * @since 5.5.0 946 946 * 947 * @param string $type 947 * @param string $type The type of update being checked: 'theme' or 'plugin'. 948 948 * @return bool True if auto-updates are enabled for `$type`, false otherwise. 949 949 */ … … 952 952 case 'plugin': 953 953 /** 954 * Filters whether plugins manualauto-update is enabled.954 * Filters whether plugins auto-update is enabled. 955 955 * 956 956 * @since 5.5.0 … … 961 961 case 'theme': 962 962 /** 963 * Filters whether plugins manualauto-update is enabled.963 * Filters whether themes auto-update is enabled. 964 964 * 965 965 * @since 5.5.0 966 966 * 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. 968 968 */ 969 969 return apply_filters( 'themes_auto_update_enabled', true ); … … 974 974 975 975 /** 976 * Determines the appropriate update message to be displayed.976 * Determines the appropriate auto-update message to be displayed. 977 977 * 978 978 * @since 5.5.0 -
trunk/src/wp-admin/themes.php
r48095 r48097 557 557 * @since 5.5.0 558 558 * 559 * @return string T emplate559 * @return string The template for displaying the auto-update setting link. 560 560 */ 561 561 function wp_theme_auto_update_setting_template() {
Note: See TracChangeset
for help on using the changeset viewer.