Make WordPress Core

Ticket #56078: 56078.diff

File 56078.diff, 739 bytes (added by domainsupport, 22 months ago)

Patch for /wp-includes/script-loader.php

  • src/wp-includes/script-loader.php

     
    30973097
    30983098                                // Combine variations with settings. Remove duplicates.
    30993099                                $settings['typography']['fontFamilies']['theme'] = array_merge( $settings['typography']['fontFamilies']['theme'], $variation['settings']['typography']['fontFamilies']['theme'] );
    3100                                 $settings['typography']['fontFamilies']          = array_unique( $settings['typography']['fontFamilies'] );
     3100                                $settings['typography']['fontFamilies']          = array_unique( $settings['typography']['fontFamilies'], SORT_REGULAR );
    31013101                        }
    31023102                }
    31033103