Changeset 38121 for trunk/src/wp-includes/l10n.php
- Timestamp:
- 07/20/2016 04:56:21 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/l10n.php
r37985 r38121 665 665 666 666 /** 667 * Load a plugin's translated strings.667 * Loads a plugin's translated strings. 668 668 * 669 669 * If the path is not given then it will be the root of the plugin directory. … … 675 675 * 676 676 * @param string $domain Unique identifier for retrieving translated strings 677 * @param string $deprecated Use the $plugin_rel_path parameter instead.677 * @param string $deprecated Optional. Use the $plugin_rel_path parameter instead. Defaukt false. 678 678 * @param string $plugin_rel_path Optional. Relative path to WP_PLUGIN_DIR where the .mo file resides. 679 679 * Default false. … … 717 717 * 718 718 * @param string $domain Text domain. Unique identifier for retrieving translated strings. 719 * @param string $mu_plugin_rel_path Relative to WPMU_PLUGIN_DIR directory in which the .mo file resides.720 * Default empty string.719 * @param string $mu_plugin_rel_path Optional. Relative to `WPMU_PLUGIN_DIR` directory in which the .mo 720 * file resides. Default empty string. 721 721 * @return bool True when textdomain is successfully loaded, false otherwise. 722 722 */ … … 800 800 801 801 /** 802 * Just in time loading of plugin and theme textdomains. 803 * 804 * When a textdomain is encountered for the first time, we try to load the translation file 805 * from wp-content/languages, removing the need to call `load_plugin_texdomain()` or 806 * `load_theme_texdomain()`. Holds a cached list of available .mo files to improve performance. 802 * Loads plugin and theme textdomains just-in-time. 803 * 804 * When a textdomain is encountered for the first time, we try to load 805 * the translation file from `wp-content/languages`, removing the need 806 * to call load_plugin_texdomain() or load_theme_texdomain(). 807 * 808 * Holds a cached list of available .mo files to improve performance. 807 809 * 808 810 * @since 4.6.0
Note: See TracChangeset
for help on using the changeset viewer.