Parsed: 110248

function get_allowed_themes() {
  _deprecated_function( get_allowed_themes, '3.4.0', "wp_get_themes( array( 'allowed' => true ) )" );

  $themes = wp_get_themes( array( 'allowed' => true ) );

  $wp_themes = array();
  foreach ( $themes as $theme ) {
    $wp_themes[ $theme->get('Name') ] = $theme;
  }

  return $wp_themes;
}