Make WordPress Core

Changeset 48632


Ignore:
Timestamp:
07/27/2020 09:06:58 AM (5 years ago)
Author:
mikeschroder
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/file.php

    r48185 r48632  
    23662366     * @since 5.5.0
    23672367     *
    2368      * @param bool   $will_invalidate Whether WordPress will invalidate `$filename`. Default true.
    2369      * @param string $filename        The PHP filename to invalidate.
     2368     * @param bool   $will_invalidate Whether WordPress will invalidate `$filepath`. Default true.
     2369     * @param string $filepath        The path to the PHP file to invalidate.
    23702370     */
    23712371    if ( apply_filters( 'wp_opcache_invalidate_file', true, $filepath ) ) {
Note: See TracChangeset for help on using the changeset viewer.