Make WordPress Core

Changeset 36249


Ignore:
Timestamp:
01/10/2016 01:23:49 AM (9 years ago)
Author:
johnbillion
Message:

Emoji: Explictly use https as the scheme for emoji fallback images, as they're only served over HTTPS by the CDN anyway.

Fixes #35376
Props ocean90

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/formatting.php

    r36125 r36249  
    45334533         * @param string The emoji base URL.
    45344534         */
    4535         'baseUrl' => apply_filters( 'emoji_url', set_url_scheme( '//s.w.org/images/core/emoji/72x72/' ) ),
     4535        'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/72x72/' ),
    45364536
    45374537        /**
     
    46454645
    46464646    /** This filter is documented in wp-includes/formatting.php */
    4647     $cdn_url = apply_filters( 'emoji_url', set_url_scheme( '//s.w.org/images/core/emoji/72x72/' ) );
     4647    $cdn_url = apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/72x72/' );
    46484648
    46494649    /** This filter is documented in wp-includes/formatting.php */
Note: See TracChangeset for help on using the changeset viewer.