WordPress.org

Make WordPress Core

Ticket #30924: 30924.diff

File 30924.diff, 1007 bytes (added by travisnorthcutt, 7 years ago)

Removes mention of ms_network_cookies()

  • src/wp-includes/default-constants.php

    diff --git src/wp-includes/default-constants.php src/wp-includes/default-constants.php
    index ae97efd..734509a 100644
    function wp_plugin_directory_constants() { 
    154154/**
    155155 * Defines cookie related WordPress constants
    156156 *
    157  * Defines constants after multisite is loaded. Cookie-related constants may be overridden in ms_network_cookies().
     157 * Defines constants after multisite is loaded.
    158158 * @since 3.0.0
    159159 */
    160160function wp_cookie_constants() {
  • src/wp-settings.php

    diff --git src/wp-settings.php src/wp-settings.php
    index 9795971..715a2c2 100644
    do_action( 'muplugins_loaded' ); 
    192192if ( is_multisite() )
    193193        ms_cookie_constants(  );
    194194
    195 // Define constants after multisite is loaded. Cookie-related constants may be overridden in ms_network_cookies().
     195// Define constants after multisite is loaded.
    196196wp_cookie_constants();
    197197
    198198// Define and enforce our SSL constants