diff --git a/wp-includes/class-wp-locale.php b/wp-includes/class-wp-locale.php index 9ddc325b35..5f54e62dec 100644 --- a/wp-includes/class-wp-locale.php +++ b/wp-includes/class-wp-locale.php @@ -222,21 +222,6 @@ class WP_Locale { } elseif ( 'rtl' == _x( 'ltr', 'text direction' ) ) { $this->text_direction = 'rtl'; } - - if ( 'rtl' === $this->text_direction && strpos( $GLOBALS['wp_version'], '-src' ) ) { - $this->text_direction = 'ltr'; - add_action( 'all_admin_notices', array( $this, 'rtl_src_admin_notice' ) ); - } - } - - /** - * Outputs an admin notice if the /build directory must be used for RTL. - * - * @since 3.8.0 - */ - public function rtl_src_admin_notice() { - /* translators: %s: Name of the directory (build) */ - echo '

' . sprintf( __( 'The %s directory of the develop repository must be used for RTL.' ), 'build' ) . '

'; } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 61bb079c0f..4e23ca7ee1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-45687'; +$wp_version = '5.3-alpha-45688'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.