WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/01/2018 05:18:54 AM (3 years ago)
Author:
dd32
Message:

Themes: Use api.wordpress.org/themes/info/1.2/ to query theme information.

See #43192.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r42614 r42632  
    32193219
    32203220        $theme->name        = wp_kses( $theme->name, $themes_allowedtags );
    3221         $theme->author      = wp_kses( $theme->author, $themes_allowedtags );
     3221        $theme->author      = wp_kses( $theme->author['display_name'], $themes_allowedtags );
    32223222        $theme->version     = wp_kses( $theme->version, $themes_allowedtags );
    32233223        $theme->description = wp_kses( $theme->description, $themes_allowedtags );
Note: See TracChangeset for help on using the changeset viewer.