diff --git a/wp-includes/class-wp-dependency.php b/wp-includes/class-wp-dependency.php index cea4de5507..6934eb11d9 100644 --- a/wp-includes/class-wp-dependency.php +++ b/wp-includes/class-wp-dependency.php @@ -112,6 +112,16 @@ class _WP_Dependency { return true; } + /** + * Sets the translation domain for this dependency. + * + * @since 5.0.0 + * + * @param string $domain The translation textdomain. + * @param string $path Optional. The full file path to the directory containing translation files. + * + * @return bool False if $domain is not a string, true otherwise. + */ public function set_translations( $domain, $path = null ) { if ( ! is_string( $domain ) ) { return false; diff --git a/wp-includes/version.php b/wp-includes/version.php index 14d3370988..ec16d1f816 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.1-beta1-44606'; +$wp_version = '5.1-beta1-44607'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.