Clarify the return value of get_page_templates(). props kovshenin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1cdd5ad41a
commit
1e96186c14
|
@ -163,7 +163,7 @@ function get_allowed_themes() {
|
|||
*
|
||||
* @since 1.5.0
|
||||
*
|
||||
* @return array Key is template name, Value is template name
|
||||
* @return array Key is the template name, value is the filename of the template
|
||||
*/
|
||||
function get_page_templates() {
|
||||
$themes = get_themes();
|
||||
|
|
Loading…
Reference in New Issue