diff --git a/src/wp-admin/includes/update.php b/src/wp-admin/includes/update.php index 7e01a54d2c..e3f363c16e 100644 --- a/src/wp-admin/includes/update.php +++ b/src/wp-admin/includes/update.php @@ -254,7 +254,21 @@ function update_right_now_message() { $msg .= '' . sprintf( __( 'Update to %s' ), $cur->current ? $cur->current : __( 'Latest' ) ) . ' '; } - $msg .= sprintf( '' . __( 'WordPress %1$s running %2$s theme.' ) . '', get_bloginfo( 'version', 'display' ), $theme_name ); + /* translators: 1: version number, 2: theme name */ + $content = __( 'WordPress %1$s running %2$s theme.' ); + + /** + * Filter the text displayed in the 'At a Glance' dashboard widget. + * + * Prior to 3.8.0, the widget was named 'Right Now'. + * + * @since 4.4.0 + * + * @param string $content Default text. + */ + $content = apply_filters( 'update_right_now_text', $content ); + + $msg .= sprintf( '' . $content . '', get_bloginfo( 'version', 'display' ), $theme_name ); echo "
$msg
"; }