mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 06:57:35 +01:00
Add @since for get_translations_for_domain().
props DrewAPicture. see #28690. Built from https://develop.svn.wordpress.org/trunk@28938 git-svn-id: http://core.svn.wordpress.org/trunk@28736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
440c78d405
commit
575425ffbe
@ -679,6 +679,8 @@ function load_child_theme_textdomain( $domain, $path = false ) {
|
||||
*
|
||||
* If there isn't one, returns empty Translations instance.
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @param string $domain Text domain. Unique identifier for retrieving translated strings.
|
||||
* @return Translations A Translations instance.
|
||||
*/
|
||||
@ -694,6 +696,7 @@ function get_translations_for_domain( $domain ) {
|
||||
* Whether there are translations for the text domain.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param string $domain Text domain. Unique identifier for retrieving translated strings.
|
||||
* @return bool Whether there are translations.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user