WordPress.org

Make WordPress Core

Ticket #26503: 26503.diff

File 26503.diff, 390 bytes (added by nofearinc, 6 years ago)
  • wp-includes/theme.php

     
    489489        }
    490490
    491491        asort( $found_themes );
     492        $found_themes = apply_filters( 'found_themes', $found_themes );
    492493
    493494        $theme_roots = array();
    494495        $relative_theme_roots = array_flip( $relative_theme_roots );