Make WordPress Core

Changeset 30532


Ignore:
Timestamp:
11/23/2014 05:56:14 PM (9 years ago)
Author:
DrewAPicture
Message:

Improve return description for get_file_data() documentation.

Also convert an incorrect use of @see to @link.

Props 5um17 for the initial patch.
Fixes #30466.

File:
1 edited

Legend:

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

    r30507 r30532  
    41644164 * their plugin file and move the data headers to the top.
    41654165 *
    4166  * @see http://codex.wordpress.org/File_Header
     4166 * @link http://codex.wordpress.org/File_Header
    41674167 *
    41684168 * @since 2.9.0
     4169 *
    41694170 * @param string $file            Path to the file.
    41704171 * @param array  $default_headers List of headers, in the format array('HeaderKey' => 'Header Name').
    41714172 * @param string $context         Optional. If specified adds filter hook "extra_{$context}_headers".
    41724173 *                                Default empty.
     4174 * @return array Array of file headers in `HeaderKey => Header Value` format.
    41734175 */
    41744176function get_file_data( $file, $default_headers, $context = '' ) {
Note: See TracChangeset for help on using the changeset viewer.