Changeset 45029
- Timestamp:
- 03/27/2019 01:26:50 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-locale.php
r44566 r45029 116 116 * 117 117 * @global string $text_direction 118 * @global string $wp_version 118 119 */ 119 120 public function init() { … … 223 224 } 224 225 225 if ( 'rtl' === $this->text_direction && strpos( get_bloginfo( 'version' ), '-src' ) ) {226 if ( 'rtl' === $this->text_direction && strpos( $GLOBALS['wp_version'], '-src' ) ) { 226 227 $this->text_direction = 'ltr'; 227 228 add_action( 'all_admin_notices', array( $this, 'rtl_src_admin_notice' ) );
Note: See TracChangeset
for help on using the changeset viewer.