Opened 3 years ago
Closed 3 years ago
#56257 closed defect (bug) (fixed)
Wrong function description in `wp_is_theme_directory_ignored` docblock.
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.1 | Priority: | low |
Severity: | normal | Version: | 6.0 |
Component: | General | Keywords: | good-first-bug has-patch |
Focuses: | docs | Cc: |
Description
The description of wp_is_theme_directory_ignored()
is not 100% accurate:
Filters theme directories that should be ignored during export.
This function doesn't filter theme directories, it rather determines whether a theme directory should be ignored during export.
https://developer.wordpress.org/reference/functions/wp_is_theme_directory_ignored/
https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-includes/block-template-utils.php#L896
Attachments (2)
Change History (7)
Note: See
TracTickets for help on using
tickets.
Here is the patch to improve docblock.