WordPress.org

Make WordPress Core

Changeset 25764


Ignore:
Timestamp:
10/11/2013 05:10:18 PM (6 years ago)
Author:
nacin
Message:

Silence possible warnings from is_dir(). fixes #25572.

File:
1 edited

Legend:

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

    r25763 r25764  
    15081508        foreach ( $vcs_dirs as $vcs_dir ) {
    15091509            foreach ( $check_dirs as $check_dir ) {
    1510                 if ( $checkout = is_dir( rtrim( $check_dir, '\\/' ) . "/$vcs_dir" ) )
     1510                if ( $checkout = @is_dir( rtrim( $check_dir, '\\/' ) . "/$vcs_dir" ) )
    15111511                    break 2;
    15121512            }
Note: See TracChangeset for help on using the changeset viewer.