[wp-trac] [WordPress Trac] #56257: Wrong function description in `wp_is_theme_directory_ignored` docblock.

WordPress Trac noreply at wordpress.org
Wed Jul 20 13:24:50 UTC 2022


#56257: Wrong function description in `wp_is_theme_directory_ignored` docblock.
--------------------------+----------------------------------------
 Reporter:  audrasjb      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  low           |  Milestone:  6.1
Component:  General       |    Version:
 Severity:  normal        |   Keywords:  needs-patch good-first-bug
  Focuses:  docs          |
--------------------------+----------------------------------------
 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

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56257>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list