WordPress.org

Make WordPress Core

Changeset 39453


Ignore:
Timestamp:
12/03/16 03:50:02 (9 months ago)
Author:
pento
Message:

Load: Re-add session.php.

session.php is occasionally included directly by custom external code, so should continue to be available. This behaviour is deprecated.

Partial revert of [38373].
See #36335, #39027.

Location:
trunk/src
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/update-core.php

    r39450 r39453  
    710710// Don't delete, yet: 'wp-includes/class-feed.php', 
    711711'wp-includes/locale.php', 
    712 'wp-includes/session.php', 
     712// Don't delete, yet: 'wp-includes/session.php', 
    713713'wp-includes/customize/class-wp-customize-themes-panel.php', // Removed in beta; when the feature comes back remember to remove it from this array. See #37661. 
    714714); 
  • trunk/src/wp-includes/session.php

    r38372 r39453  
    66 */ 
    77 
     8_deprecated_file( basename( __FILE__ ), '4.7.0' ); 
     9 
    810require_once( ABSPATH . WPINC . '/class-wp-session-tokens.php' ); 
    911require_once( ABSPATH . WPINC . '/class-wp-user-meta-session-tokens.php' ); 
Note: See TracChangeset for help on using the changeset viewer.