Changeset 38459 for trunk/src/wp-includes/class-wp-locale.php
- Timestamp:
- 08/31/2016 05:48:49 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-locale.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-locale.php
r38316 r38459 126 126 * 127 127 * @global string $text_direction 128 * @global string $wp_version129 128 */ 130 129 public function init() { … … 232 231 $this->text_direction = 'rtl'; 233 232 234 if ( 'rtl' === $this->text_direction && strpos( $GLOBALS['wp_version'], '-src' ) ) {233 if ( 'rtl' === $this->text_direction && strpos( get_bloginfo( 'version' ), '-src' ) ) { 235 234 $this->text_direction = 'ltr'; 236 235 add_action( 'all_admin_notices', array( $this, 'rtl_src_admin_notice' ) );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)