Changeset 28134 for trunk/src/wp-admin/includes/class-wp-upgrader.php
- Timestamp:
- 04/15/2014 08:51:23 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-upgrader.php
r27905 r28134 2366 2366 } 2367 2367 2368 $critical_support = 'critical' === $type && ! empty( $core_update->support_email ); 2369 if ( $critical_support ) { 2370 // Support offer if available. 2371 $body .= "\n\n" . sprintf( __( "The WordPress team is willing to help you. Forward this email to %s and the team will work with you to make sure your site is working." ), $core_update->support_email ); 2372 } else { 2373 // Add a note about the support forums. 2374 $body .= "\n\n" . __( 'If you experience any issues or need support, the volunteers in the WordPress.org support forums may be able to help.' ); 2375 $body .= "\n" . __( 'https://wordpress.org/support/' ); 2376 } 2377 2368 2378 // Updates are important! 2369 if ( $type != 'success' || $newer_version_available ) 2379 if ( $type != 'success' || $newer_version_available ) { 2370 2380 $body .= "\n\n" . __( 'Keeping your site updated is important for security. It also makes the internet a safer place for you and your readers.' ); 2371 2372 // Add a note about the support forums to all emails. 2373 $body .= "\n\n" . __( 'If you experience any issues or need support, the volunteers in the WordPress.org support forums may be able to help.' ); 2374 $body .= "\n" . __( 'https://wordpress.org/support/' ); 2381 } 2382 2383 if ( $critical_support ) { 2384 $body .= " " . __( "If you reach out to us, we'll also ensure you'll never have this problem again." ); 2385 } 2375 2386 2376 2387 // If things are successful and we're now on the latest, mention plugins and themes if any are out of date.
Note: See TracChangeset
for help on using the changeset viewer.