Make WordPress Core


Ignore:
Timestamp:
08/30/2012 01:33:00 PM (12 years ago)
Author:
ryan
Message:

Use set_url_scheme(). Props johnbillion, MarcusPope. see #19037 #20759

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-editor.php

    r21576 r21664  
    212212                        foreach ( $mce_external_plugins as $name => $url ) {
    213213
    214                             if ( is_ssl() ) $url = str_replace('http://', 'https://', $url);
     214                            $url = set_url_scheme( $url );
    215215
    216216                            $plugins[] = '-' . $name;
Note: See TracChangeset for help on using the changeset viewer.