Make WordPress Core

Changeset 41032


Ignore:
Timestamp:
07/12/2017 09:39:37 PM (8 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add a @global entry for $allowed_files in get_file_description().

Props div33, ajayghaghretiya1.
Fixes #41294.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/file.php

    r40723 r41032  
    7070 * @since 1.5.0
    7171 *
    72  * @global array $wp_file_descriptions
     72 * @global array $wp_file_descriptions Theme file descriptions.
     73 * @global array $allowed_files        List of allowed files.
    7374 * @param string $file Filesystem path or filename
    7475 * @return string Description of file from $wp_file_descriptions or basename of $file if description doesn't exist.
Note: See TracChangeset for help on using the changeset viewer.