WordPress.org

Make WordPress Core

Ticket #38563: 38563.patch

File 38563.patch, 461 bytes (added by ovann86, 3 years ago)

Proposed patch for 38563

  • wp-admin/js/theme.js

     
    600600                $( document ).on( 'wp-theme-install-success', function( event, response ) {
    601601                        if ( _this.model.get( 'id' ) === response.slug ) {
    602602                                _this.model.set( { 'installed': true } );
     603                                _wpThemeSettings.installedThemes.push( response.slug );
    603604                        }
    604605                } );
    605606