Docs: Use a duplicate hook reference for `theme_file_path` in `WP_Theme::get_file_path()`.

Follow-up to [38578], [52279].

See #51506, #53399.
Built from https://develop.svn.wordpress.org/trunk@52297


git-svn-id: http://core.svn.wordpress.org/trunk@51889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-12-01 09:20:04 +00:00
parent 71f33ed63f
commit 980ea5611a
2 changed files with 2 additions and 9 deletions

View File

@ -1507,14 +1507,7 @@ final class WP_Theme implements ArrayAccess {
$path = $template_directory . '/' . $file; $path = $template_directory . '/' . $file;
} }
/** /** This filter is documented in wp-includes/link-template.php */
* 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.
*/
return apply_filters( 'theme_file_path', $path, $file ); return apply_filters( 'theme_file_path', $path, $file );
} }

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.