From ed82ec96b297165c5cc357bbf4d5e0d40a9a5581 Mon Sep 17 00:00:00 2001 From: George Nicolaou Date: Sat, 20 Jun 2026 00:41:43 +0300 Subject: [PATCH] Docs: Improve filter hook documentation in WP_Navigation_Fallback. Removes redundant phrase "whether or not" from the filter hook docblock. Props orionaselite. Fixes #[ticket-id-will-be-added-if-accepted]. --- src/wp-includes/class-wp-navigation-fallback.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/class-wp-navigation-fallback.php b/src/wp-includes/class-wp-navigation-fallback.php index 573ab27f3489e..8119a186668df 100644 --- a/src/wp-includes/class-wp-navigation-fallback.php +++ b/src/wp-includes/class-wp-navigation-fallback.php @@ -69,7 +69,7 @@ public static function update_wp_navigation_post_schema( $schema ) { */ public static function get_fallback() { /** - * Filters whether or not a fallback should be created. + * Filters whether a fallback should be created. * * @since 6.3.0 *