[wp-trac] [WordPress Trac] #30699: Incorrect inline docs in plugin.php: referenced function "plugin_text_domain()" does not exist.
WordPress Trac
noreply at wordpress.org
Sat Dec 13 01:26:18 UTC 2014
#30699: Incorrect inline docs in plugin.php: referenced function
"plugin_text_domain()" does not exist.
--------------------------+-----------------------------
Reporter: eliorivero | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: trunk
Severity: normal | Keywords:
Focuses: docs |
--------------------------+-----------------------------
In the inline docs for the get_plugin_data() function that explains the
plugin headers, there's this line:
{{{
Text Domain: Optional. Unique identifier, should be same as the one used
in plugin_textdomain()
}}}
but that function doesn't exist so it should be
{{{
Text Domain: Optional. Unique identifier, should be same as the one used
in load_plugin_textdomain()
}}}
This error is also in the online reference
https://developer.wordpress.org/reference/functions/get_plugin_data/
The attached patch fixes this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30699>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list