Opened 4 years ago
Closed 4 years ago
#56257 closed defect (bug) (fixed)
Wrong function description in `wp_is_theme_directory_ignored` docblock.
| Reported by: | audrasjb | Owned by: | audrasjb |
|---|---|---|---|
| Priority: | low | Milestone: | 6.1 |
| Component: | General | Version: | 6.0 |
| Severity: | normal | Keywords: | good-first-bug has-patch |
| Cc: | Focuses: | docs |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Here is the patch to improve docblock.