Skip to:
Content

bbPress.org

Changeset 5238


Ignore:
Timestamp:
01/02/2014 06:54:33 PM (12 years ago)
Author:
johnjamesjacoby
Message:

Use correct scheme strings in bbp_verify_nonce_request(). Fixes false negative bbPress-specific nonce checks in functions and methods that do not use WordPress's traditional nonce/die pairing. Fixes #2492. Props MZAWeb. (2.5 branch)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/includes/common/functions.php

    r5189 r5238  
    15911591    // Parse home_url() into pieces to remove query-strings, strange characters,
    15921592    // and other funny things that plugins might to do to it.
    1593     $parsed_home = parse_url( home_url( '/', ( is_ssl() ? 'https://' : 'http://' ) ) );
     1593    $parsed_home = parse_url( home_url( '/', ( is_ssl() ? 'https' : 'http' ) ) );
    15941594
    15951595    // Maybe include the port, if it's included
Note: See TracChangeset for help on using the changeset viewer.