Ticket #15306: 15306.ms.patch

File 15306.ms.patch, 589 bytes (added by ocean90, 15 months ago)
  • wp-admin/includes/theme.php

     
    151151 
    152152        $blog_allowed_themes = wpmu_get_blog_allowedthemes(); 
    153153        if ( is_array( $blog_allowed_themes ) ) 
    154                 $allowed_themes = array_merge( $allowed_themes, $blog_allowed_themes ); 
     154                $allowed_themes = $allowed_themes + $blog_allowed_themes; 
    155155 
    156156        if ( isset( $allowed_themes[ esc_html( $ct->stylesheet ) ] ) == false ) 
    157157                $allowed_themes[ esc_html( $ct->stylesheet ) ] = true;