WordPress.org

Make WordPress Core

Changeset 14203


Ignore:
Timestamp:
04/23/10 19:00:30 (4 years ago)
Author:
nacin
Message:

Make some branching look less crazy.

File:
1 edited

Legend:

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

    r14193 r14203  
    11641164    $site_exts = explode( " ", get_site_option( "upload_filetypes" ) ); 
    11651165    foreach ( $site_exts as $ext ) { 
    1166         foreach ( $mimes as $ext_pattern => $mime ) 
    1167             if ( $ext != '' && strpos( $ext_pattern, $ext ) !== false ) { 
     1166        foreach ( $mimes as $ext_pattern => $mime ) { 
     1167            if ( $ext != '' && strpos( $ext_pattern, $ext ) !== false ) 
    11681168                $site_mimes[$ext_pattern] = $mime; 
    11691169        } 
Note: See TracChangeset for help on using the changeset viewer.