Skip to content

Bug :: SSL :: Emoji Script Resource #674

Closed

Description

@jaswrks

Overview

In recent versions of WordPress the new Emoji stylesheet and JavaScript resources are managing to slip through s2Member's SSL filters, resulting in this warning in some browsers.

2015-08-06_11-23-15

Steps to Reproduce

  • Install s2Member plugin.
  • Add Custom Field s2member_force_ssl = yes to any Post/Page.
  • Load that page in Internet Explorer and other browsers.

Expected Behavior

That all static resources are served over SSL.

Observed Behavior

This resource is slipping through; due to the way the URL is constructed by the WP core. https://github.com/WordPress/WordPress/blob/8b91700d5b09de28a68ae546fca32ebeca29b8f3/wp-includes/formatting.php#L4388 & https://github.com/WordPress/WordPress/blob/a0e373ef80094651621d3a6d649e1915279ba250/wp-includes/link-template.php#L2880

Activity

  1. added this to the Next Release milestone on Aug 6, 2015
  2. self-assigned this
    on Aug 6, 2015
  3. jaswrks commented on Aug 6, 2015

    @jaswrks
    ContributorAuthor

    Next Release Changelog:

    • (s2Member/s2Member Pro) Emoji Bug Fix: This release corrects a bug in s2Member's SSL filters that can be applied with the Post/Page Custom Field s2member_force_ssl being set to yes. A symptom of this bug was to see an SSL warning in the latest release of WordPress related to the new Emoji library. See this GitHub issue if you'd like additional details.
  4. jaswrks commented on Aug 6, 2015

    @jaswrks
    ContributorAuthor

    Short-Term Fix

    • Download this updated file and allow it to override your existing copy of s2member/includes/classes/ssl-in.inc.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions