diff --git a/src/wp-admin/includes/class-wp-automatic-updater.php b/src/wp-admin/includes/class-wp-automatic-updater.php
index a1efdc2bb2..5ba2f3ff94 100644
a
|
b
|
class WP_Automatic_Updater { |
946 | 946 | switch ( $type ) { |
947 | 947 | case 'success': |
948 | 948 | /* translators: %s: Site title. */ |
949 | | $subject = __( '[%s] Some plugins or themes were automatically updated' ); |
| 949 | $subject = __( '[%s] Some plugins and/or themes were automatically updated' ); |
| 950 | $body[] = sprintf( |
| 951 | /* translators: %s: Home URL. */ |
| 952 | __( 'Howdy! Some plugins and/or themes have been updated automatically to new versions on your site at %s. No further action is needed on your part.' ), |
| 953 | home_url() |
| 954 | ); |
950 | 955 | break; |
951 | 956 | case 'fail': |
952 | 957 | /* translators: %s: Site title. */ |
953 | | $subject = __( '[%s] Some plugins or themes have failed to update' ); |
| 958 | $subject = __( '[%s] Some plugins and/or themes have failed to update' ); |
954 | 959 | $body[] = sprintf( |
955 | 960 | /* translators: %s: Home URL. */ |
956 | 961 | __( 'Howdy! Failures occurred when attempting to update plugins/themes on your site at %s.' ), |
… |
… |
class WP_Automatic_Updater { |
961 | 966 | break; |
962 | 967 | case 'mixed': |
963 | 968 | /* translators: %s: Site title. */ |
964 | | $subject = __( '[%s] Some plugins or themes were automatically updated' ); |
| 969 | $subject = __( '[%s] Some plugins and/or themes were automatically updated' ); |
965 | 970 | $body[] = sprintf( |
966 | 971 | /* translators: %s: Home URL. */ |
967 | 972 | __( 'Howdy! Failures occurred when attempting to update plugins/themes on your site at %s.' ), |
… |
… |
class WP_Automatic_Updater { |
980 | 985 | foreach ( $failed_updates['plugin'] as $item ) { |
981 | 986 | $body[] = "- {$item->name}"; |
982 | 987 | } |
| 988 | $body[] = sprintf( |
| 989 | /* translators: %s: Plugins screen URL. */ |
| 990 | __( 'To manage plugins on your site, visit the Plugins page: %s' ), |
| 991 | admin_url( 'plugins.php' ) |
| 992 | ); |
983 | 993 | $body[] = "\n"; |
984 | 994 | } |
985 | 995 | // Get failed theme updates. |
… |
… |
class WP_Automatic_Updater { |
989 | 999 | foreach ( $failed_updates['theme'] as $item ) { |
990 | 1000 | $body[] = "- {$item->name}"; |
991 | 1001 | } |
| 1002 | $body[] = sprintf( |
| 1003 | /* translators: %s: Themes screen URL. */ |
| 1004 | __( 'To manage themes on your site, visit the Plugins page: %s' ), |
| 1005 | admin_url( 'themes.php' ) |
| 1006 | ); |
992 | 1007 | $body[] = "\n"; |
993 | 1008 | } |
994 | 1009 | // Get successful plugin updates. |
… |
… |
class WP_Automatic_Updater { |
998 | 1013 | foreach ( $successful_updates['plugin'] as $item ) { |
999 | 1014 | $body[] = "- {$item->name}"; |
1000 | 1015 | } |
| 1016 | $body[] = sprintf( |
| 1017 | /* translators: %s: Plugins screen URL. */ |
| 1018 | __( 'To manage plugins on your site, visit the Plugins page: %s' ), |
| 1019 | admin_url( 'plugins.php' ) |
| 1020 | ); |
1001 | 1021 | $body[] = "\n"; |
1002 | 1022 | } |
1003 | 1023 | // Get successful theme updates. |
… |
… |
class WP_Automatic_Updater { |
1007 | 1027 | foreach ( $successful_updates['theme'] as $item ) { |
1008 | 1028 | $body[] = "- {$item->name}"; |
1009 | 1029 | } |
| 1030 | $body[] = sprintf( |
| 1031 | /* translators: %s: Themes screen URL. */ |
| 1032 | __( 'To manage themes on your site, visit the Plugins page: %s' ), |
| 1033 | admin_url( 'themes.php' ) |
| 1034 | ); |
1010 | 1035 | $body[] = "\n"; |
1011 | 1036 | } |
1012 | 1037 | $body[] = "\n"; |