Changeset 47857
- Timestamp:
- 05/26/2020 06:01:18 PM (3 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-automatic-updater.php
r47836 r47857 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 ) { -
trunk/src/wp-admin/includes/update.php
r47835 r47857 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 /** … … 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
Note: See TracChangeset
for help on using the changeset viewer.