WordPress.org

Make WordPress Core

Changeset 39455


Ignore:
Timestamp:
12/03/16 04:06:15 (8 months ago)
Author:
pento
Message:

Load: Re-add locale.php.

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

Partial revert of [38364].
See #37827, #39027.

Location:
trunk/src
Files:
1 edited
1 copied

Legend:

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

    r39453 r39455  
    709709// Don't delete, yet: 'wp-admin/includes/class-wp-upgrader-skins.php', 
    710710// Don't delete, yet: 'wp-includes/class-feed.php', 
    711 'wp-includes/locale.php', 
     711// Don't delete, yet: 'wp-includes/locale.php', 
    712712// 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. 
  • trunk/src/wp-includes/locale.php

    r38363 r39455  
    77 * @since 1.2.0 
    88 */ 
     9 
     10_deprecated_file( basename( __FILE__ ), '4.7.0' ); 
    911 
    1012/** WP_Locale class */ 
Note: See TracChangeset for help on using the changeset viewer.