Docs: Add missing documentation for `_WP_Dependency::set_translations()`.
Introduced in [43859]. Props stazdotio. Fixes #45550. Built from https://develop.svn.wordpress.org/trunk@44607 git-svn-id: http://core.svn.wordpress.org/trunk@44438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
50ddffbac3
commit
4bb472ac32
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue