Docs: Add a @global
entry for $allowed_files
in get_file_description()
.
Props div33, ajayghaghretiya1. Fixes #41294. git-svn-id: https://develop.svn.wordpress.org/trunk@41032 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cf4b8bc85f
commit
7e8d932935
@ -69,7 +69,8 @@ $wp_file_descriptions = array(
|
||||
*
|
||||
* @since 1.5.0
|
||||
*
|
||||
* @global array $wp_file_descriptions
|
||||
* @global array $wp_file_descriptions Theme file descriptions.
|
||||
* @global array $allowed_files List of allowed files.
|
||||
* @param string $file Filesystem path or filename
|
||||
* @return string Description of file from $wp_file_descriptions or basename of $file if description doesn't exist.
|
||||
* Appends 'Page Template' to basename of $file if the file is a page template
|
||||
|
Loading…
Reference in New Issue
Block a user