WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/03/2016 04:29:44 AM (4 years ago)
Author:
pento
Message:

Load: Re-add class-wp-upgrader-skins.php, class-feed.php, locale.php, and session.php.

Several files were removed during 4.7 that can be loaded externally, so we need to keep them, though their use is now deprecated.

Merges [39449], [39450], [39453], [39455], and [39456] to the 4.7 branch.
Fixes #39027.

Location:
branches/4.7
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/4.7

  • branches/4.7/src/wp-includes/locale.php

    r39455 r39459  
    99
    1010_deprecated_file( basename( __FILE__ ), '4.7.0' );
    11 
    12 /** WP_Locale class */
    13 require_once ABSPATH . WPINC . '/class-wp-locale.php';
    14 
    15 /**
    16  * Checks if current locale is RTL.
    17  *
    18  * @since 3.0.0
    19  *
    20  * @global WP_Locale $wp_locale
    21  *
    22  * @return bool Whether locale is RTL.
    23  */
    24 function is_rtl() {
    25     global $wp_locale;
    26     return $wp_locale->is_rtl();
    27 }
Note: See TracChangeset for help on using the changeset viewer.