Make WordPress Core


Ignore:
Timestamp:
11/03/2014 07:08:16 AM (10 years ago)
Author:
wonderboymusic
Message:

Correct some types in wp-admin/*-location files' doc blocks.

See #30224.

File:
1 edited

Legend:

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

    r30105 r30203  
    164164 * @param string $file file the users is attempting to edit
    165165 * @param array $allowed_files Array of allowed files to edit, $file must match an entry exactly
    166  * @return null
     166 * @return string|null
    167167 */
    168168function validate_file_to_edit( $file, $allowed_files = '' ) {
     
    810810 * @param array $args (optional) Connection args, These are passed directly to the WP_Filesystem_*() classes.
    811811 * @param string $context (optional) Context for get_filesystem_method(), See function declaration for more information.
    812  * @return boolean false on failure, true on success
     812 * @return null|boolean false on failure, true on success
    813813 */
    814814function WP_Filesystem( $args = false, $context = false ) {
Note: See TracChangeset for help on using the changeset viewer.