WordPress.org

Make WordPress Core

Changeset 28974


Ignore:
Timestamp:
07/03/2014 06:47:33 PM (5 years ago)
Author:
johnbillion
Message:

Use the admin scheme for theme preview URLs when installing new themes. See #21919.

File:
1 edited

Legend:

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

    r28972 r28974  
    25292529        $theme->description = wp_kses( $theme->description, $themes_allowedtags );
    25302530        $theme->num_ratings = sprintf( _n( '(based on %s rating)', '(based on %s ratings)', $theme->num_ratings ), number_format_i18n( $theme->num_ratings ) );
     2531        $theme->preview_url = set_url_scheme( $theme->preview_url );
    25312532    }
    25322533
Note: See TracChangeset for help on using the changeset viewer.