diff --git a/wp-includes/l10n.php b/wp-includes/l10n.php index 2a679128e5..53b3ab79a4 100644 --- a/wp-includes/l10n.php +++ b/wp-includes/l10n.php @@ -118,10 +118,11 @@ function translate( $text, $domain = 'default' ) { */ function before_last_bar( $string ) { $last_bar = strrpos( $string, '|' ); - if ( false === $last_bar ) + if ( false === $last_bar ) { return $string; - else + } else { return substr( $string, 0, $last_bar ); + } } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 2284ac3889..07097f7b23 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-35958'; +$wp_version = '4.5-alpha-35959'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.