Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #36308, comment 5


Ignore:
Timestamp:
10/23/2017 10:11:02 AM (8 years ago)
Author:
birgire
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36308, comment 5

    v1 v2  
    77
    88{{{
    9 if ( ! path_is_absolute( $file ) && ( ($uploads = wp_get_upload_dir()) && false === $uploads['error'] ) )
     9if ( ! path_is_absolute( $file ) && ( ( $uploads = wp_get_upload_dir()) && false === $uploads['error'] ) )
    1010        $file = $uploads['basedir'] . "/$file";
    1111}}}