Changeset 49963 for trunk/src/wp-includes/l10n.php
- Timestamp:
- 01/15/2021 08:06:50 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/l10n.php
r49936 r49963 999 999 * @param string $domain Optional. Text domain. Default 'default'. 1000 1000 * @param string $path Optional. The full file path to the directory containing translation files. 1001 * @return string|false False if the script textdomain could not be loaded, the translated strings1002 * in JSON encoding otherwise.1001 * @return string|false The translated strings in JSON encoding on success, 1002 * false if the script textdomain could not be loaded. 1003 1003 */ 1004 1004 function load_script_textdomain( $handle, $domain = 'default', $path = null ) { … … 1130 1130 * @param string $handle Name of the script to register a translation domain to. 1131 1131 * @param string $domain The text domain. 1132 * @return string|false The JSON-encoded translated strings for the given script handle and text domain. False if there are none. 1132 * @return string|false The JSON-encoded translated strings for the given script handle and text domain. 1133 * False if there are none. 1133 1134 */ 1134 1135 function load_script_translations( $file, $handle, $domain ) {
Note: See TracChangeset
for help on using the changeset viewer.