Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Nov 10, 2021
1 parent 8bdfaad commit c6b2ee3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/navigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ function gutenberg_register_navigation_post_type() {
/**
* Disable "Post Attributes" for wp_navigation post type.
*
* The attributes are also conditionally enabled when a site has custom templates,
* which is usually valid for block themes.
* The attributes are also conditionally enabled when a site has custom templates.
* Block Theme templates can be available for every post type.
*/
add_filter( 'theme_wp_navigation_templates', '__return_empty_array' );

Expand Down

0 comments on commit c6b2ee3

Please sign in to comment.