Changeset 26107 for trunk/src/wp-includes/locale.php
- Timestamp:
- 11/12/2013 09:18:45 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/locale.php
r24971 r26107 184 184 elseif ( 'rtl' == _x( 'ltr', 'text direction' ) ) 185 185 $this->text_direction = 'rtl'; 186 187 if ( 'rtl' === $this->text_direction && strpos( $GLOBALS['wp_version'], '-src' ) ) { 188 $this->text_direction = 'ltr'; 189 add_action( 'all_admin_notices', array( $this, 'rtl_src_admin_notice' ) ); 190 } 191 } 192 193 function rtl_src_admin_notice() { 194 echo '<div class="error"><p>' . 'The <code>build</code> directory of the develop repository must be used for RTL.' . '</p></div>'; 186 195 } 187 196
Note: See TracChangeset
for help on using the changeset viewer.