Clarify the return value of get_page_templates(). props kovshenin.
git-svn-id: https://develop.svn.wordpress.org/trunk@17633 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3d84216d69
commit
ac0c1a2a77
@ -163,7 +163,7 @@ function get_allowed_themes() {
|
|||||||
*
|
*
|
||||||
* @since 1.5.0
|
* @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() {
|
function get_page_templates() {
|
||||||
$themes = get_themes();
|
$themes = get_themes();
|
||||||
|
Loading…
Reference in New Issue
Block a user