mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Docs: Correct wp_opcache_invalidate_file
filter docs.
Changes incorrectly named `$filename` variable to `$filepath` and adjusts wording to align with PHP docs. See #36455. Built from https://develop.svn.wordpress.org/trunk@48632 git-svn-id: http://core.svn.wordpress.org/trunk@48394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4c0a764adc
commit
9ec7f2febd
@ -2365,8 +2365,8 @@ function wp_opcache_invalidate( $filepath, $force = false ) {
|
||||
*
|
||||
* @since 5.5.0
|
||||
*
|
||||
* @param bool $will_invalidate Whether WordPress will invalidate `$filename`. Default true.
|
||||
* @param string $filename The PHP filename to invalidate.
|
||||
* @param bool $will_invalidate Whether WordPress will invalidate `$filepath`. Default true.
|
||||
* @param string $filepath The path to the PHP file to invalidate.
|
||||
*/
|
||||
if ( apply_filters( 'wp_opcache_invalidate_file', true, $filepath ) ) {
|
||||
return opcache_invalidate( $filepath, $force );
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.5-beta3-48631';
|
||||
$wp_version = '5.5-beta3-48632';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user