Docs: Standardise and correct documentation relating to parameters which accept plugin names.

See #42505


git-svn-id: https://develop.svn.wordpress.org/trunk@42787 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2018-03-05 21:49:53 +00:00
parent 3e182c7f71
commit b20dc7aaaf
9 changed files with 42 additions and 43 deletions

View File

@@ -5070,8 +5070,8 @@ function wp_scheduled_delete() {
*
* @since 2.9.0
*
* @param string $file Path to the file.
* @param array $default_headers List of headers, in the format array('HeaderKey' => 'Header Name').
* @param string $file Absolute path to the file.
* @param array $default_headers List of headers, in the format `array('HeaderKey' => 'Header Name')`.
* @param string $context Optional. If specified adds filter hook {@see 'extra_$context_headers'}.
* Default empty.
* @return array Array of file headers in `HeaderKey => Header Value` format.