diff --git a/wp-includes/class-wp-theme.php b/wp-includes/class-wp-theme.php index 66df8a6b67..37b524fdc9 100644 --- a/wp-includes/class-wp-theme.php +++ b/wp-includes/class-wp-theme.php @@ -1507,14 +1507,7 @@ final class WP_Theme implements ArrayAccess { $path = $template_directory . '/' . $file; } - /** - * Filters the path to a file in the theme. - * - * @since 5.9.0 - * - * @param string $path The file path. - * @param string $file The requested file to search for. - */ + /** This filter is documented in wp-includes/link-template.php */ return apply_filters( 'theme_file_path', $path, $file ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 8385076680..e658d108c2 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-beta1-52296'; +$wp_version = '5.9-beta1-52297'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.