diff --git .travis.yml .travis.yml
index 21153ef5d..0ec36743c 100644
--- .travis.yml
+++ .travis.yml
@@ -26,6 +26,7 @@ php:
 # x.y mirrors the latest from the x.y branch
 env:
   - WP_VERSION=master BP_TRAVISCI=travis:phpunit
+  - WP_VERSION=5.4 BP_TRAVISCI=travis:phpunit
   - WP_VERSION=5.3 BP_TRAVISCI=travis:phpunit
   - WP_VERSION=5.2 BP_TRAVISCI=travis:phpunit
   - WP_VERSION=5.1 BP_TRAVISCI=travis:phpunit
@@ -42,6 +43,9 @@ matrix:
     - php: 7.2
       env: WP_VERSION=master BP_TRAVISCI=travis:phpunit
       dist: precise
+    - php: 7.2
+      env: WP_VERSION=5.4 BP_TRAVISCI=travis:phpunit
+      dist: precise
     - php: 7.2
       env: WP_VERSION=5.3 BP_TRAVISCI=travis:phpunit
       dist: precise
diff --git src/bp-core/admin/bp-core-admin-tools.php src/bp-core/admin/bp-core-admin-tools.php
index bee8553a4..c9f41a0df 100644
--- src/bp-core/admin/bp-core-admin-tools.php
+++ src/bp-core/admin/bp-core-admin-tools.php
@@ -347,6 +347,7 @@ function bp_admin_invitations_table() {
 	require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
 	require_once( buddypress()->plugin_dir . '/bp-core/admin/bp-core-admin-schema.php' );
 
+	/* translators: %s: the result of the action performed by the repair tool */
 	$statement = __( 'Creating the Invitations database table if it does not exist&hellip; %s', 'buddypress' );
 	$result    = __( 'Failed to create table!', 'buddypress' );
 
@@ -365,7 +366,9 @@ function bp_admin_invitations_table() {
 
 	// Migrate group invitations if needed.
 	if ( bp_is_active( 'groups' ) ) {
-		$bp                = buddypress();
+		$bp = buddypress();
+
+		/* translators: %s: the result of the action performed by the repair tool */
 		$migrate_statement = __( 'Migrating group invitations&hellip; %s', 'buddypress' );
 		$migrate_result    = __( 'Failed to migrate invitations!', 'buddypress' );
 
diff --git src/readme.txt src/readme.txt
index 87822b1a5..04eed8ae9 100644
--- src/readme.txt
+++ src/readme.txt
@@ -2,9 +2,9 @@
 Contributors: johnjamesjacoby, DJPaul, boonebgorges, r-a-y, imath, mercime, tw2113, dcavins, hnla, karmatosed, slaFFik, dimensionmedia, henrywright, netweb, offereins, espellcaste, modemlooper, danbp, Venutius, apeatling, shanebp
 Tags: user profiles, activity streams, messaging, friends, user groups, notifications, community, social networking, intranet
 Requires at least: 4.8
-Tested up to: 5.2
+Tested up to: 5.4
 Requires PHP: 5.6
-Stable tag: 5.0.0
+Stable tag: 5.1.2
 License: GPLv2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 
@@ -125,6 +125,15 @@ Try <a href="https://wordpress.org/plugins/bbpress/">bbPress</a>. It integrates
 
 == Upgrade Notice ==
 
+= 5.1.2 =
+See: https://codex.buddypress.org/releases/version-5-1-2/
+
+= 5.1.1 =
+See: https://codex.buddypress.org/releases/version-5-1-1/
+
+= 5.1.0 =
+See: https://codex.buddypress.org/releases/version-5-1-0/
+
 = 5.0.0 =
 See: https://codex.buddypress.org/releases/version-5-0-0/
 
@@ -145,6 +154,15 @@ See: https://codex.buddypress.org/releases/version-4-0-0/
 
 == Changelog ==
 
+= 5.1.2 =
+See: https://codex.buddypress.org/releases/version-5-1-2/
+
+= 5.1.1 =
+See: https://codex.buddypress.org/releases/version-5-1-1/
+
+= 5.1.0 =
+See: https://codex.buddypress.org/releases/version-5-1-0/
+
 = 5.0.0 =
 See: https://codex.buddypress.org/releases/version-5-0-0/
 
