WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #42227, comment 1


Ignore:
Timestamp:
04/01/2019 08:36:48 PM (8 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #42227, comment 1

    initial v1  
    33The existing docs for these arguments are correct, it's just that default values don't match the expected type.
    44
    5 * `$theme` should either be documented as `string|false`, or the default value should be changed to an empty string, here and and in `get_theme_root()` as well.
     5* `$theme` should either be documented as `string|false`, or the default value should be changed to an empty string, here and in `get_theme_root()` as well.
    66* `$mode` should be documented as `int|false`, here and in other `class-wp-filesystem-*.php` files as well.