Docs: Correct @param
type for $deprecated
and $plugin_rel_path
arguments of load_plugin_textdomain()
.
Props sudar. Fixes #43304. git-svn-id: https://develop.svn.wordpress.org/trunk@45254 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
49a845493f
commit
cfc3a4f9b7
@ -768,8 +768,9 @@ function load_default_textdomain( $locale = null ) {
|
||||
* @since 4.6.0 The function now tries to load the .mo file from the languages directory first.
|
||||
*
|
||||
* @param string $domain Unique identifier for retrieving translated strings
|
||||
* @param string $deprecated Optional. Use the $plugin_rel_path parameter instead. Default false.
|
||||
* @param string $plugin_rel_path Optional. Relative path to WP_PLUGIN_DIR where the .mo file resides.
|
||||
* @param string|false $deprecated Optional. Deprecated. Use the $plugin_rel_path parameter instead.
|
||||
* Default false.
|
||||
* @param string|false $plugin_rel_path Optional. Relative path to WP_PLUGIN_DIR where the .mo file resides.
|
||||
* Default false.
|
||||
* @return bool True when textdomain is successfully loaded, false otherwise.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user