Ticket #50052: 50052.4.diff
File 50052.4.diff, 1.5 KB (added by , 9 months ago) |
---|
-
src/wp-admin/includes/class-wp-automatic-updater.php
902 902 * 903 903 * @param bool $enabled True if notifications are enabled, false otherwise. 904 904 */ 905 $notifications_enabled = apply_filters( ' send_theme_auto_update_email', true );905 $notifications_enabled = apply_filters( 'auto_theme_update_send_email', true ); 906 906 907 907 if ( ! empty( $update_results['theme'] ) && $notifications_enabled ) { 908 908 foreach ( $update_results['theme'] as $update_result ) { -
src/wp-admin/includes/update.php
957 957 * 958 958 * @param bool $enabled True if plugins auto-update is enabled, false otherwise. 959 959 */ 960 return apply_filters( ' wp_plugins_auto_update_enabled', true );960 return apply_filters( 'plugins_auto_update_enabled', true ); 961 961 case 'theme': 962 962 /** 963 963 * Filters whether plugins manual auto-update is enabled. … … 966 966 * 967 967 * @param bool True if themes auto-update is enabled, false otherwise. 968 968 */ 969 return apply_filters( ' wp_themes_auto_update_enabled', true );969 return apply_filters( 'themes_auto_update_enabled', true ); 970 970 } 971 971 972 972 return false;