WordPress.org

Make WordPress Core

Changeset 52416


Ignore:
Timestamp:
12/25/2021 11:15:32 AM (4 weeks ago)
Author:
audrasjb
Message:

Docs: Typo correction in validate_file() comments.

See #53399.

File:
1 edited

Legend:

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

    r52352 r52416  
    59015901    }
    59025902
    5903     // More than one occurence of `../` is not allowed:
     5903    // More than one occurrence of `../` is not allowed:
    59045904    if ( preg_match_all( '#\.\./#', $file, $matches, PREG_SET_ORDER ) && ( count( $matches ) > 1 ) ) {
    59055905        return 1;
Note: See TracChangeset for help on using the changeset viewer.