Make WordPress Core

Changeset 36428 for branches/4.4


Ignore:
Timestamp:
02/01/2016 02:23:16 PM (9 years ago)
Author:
ocean90
Message:

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

Merges [36249] to the 4.4 branch.
See #35376.

Location:
branches/4.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.4

  • branches/4.4/src/wp-includes/formatting.php

    r36153 r36428  
    45354535         * @param string The emoji base URL.
    45364536         */
    4537         'baseUrl' => apply_filters( 'emoji_url', set_url_scheme( '//s.w.org/images/core/emoji/72x72/' ) ),
     4537        'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/72x72/' ),
    45384538
    45394539        /**
     
    46474647
    46484648    /** This filter is documented in wp-includes/formatting.php */
    4649     $cdn_url = apply_filters( 'emoji_url', set_url_scheme( '//s.w.org/images/core/emoji/72x72/' ) );
     4649    $cdn_url = apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/72x72/' );
    46504650
    46514651    /** This filter is documented in wp-includes/formatting.php */
Note: See TracChangeset for help on using the changeset viewer.