Changeset 47808 for trunk/src/wp-includes/class-wp-locale.php
- Timestamp:
- 05/16/2020 06:40:52 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-locale.php
r47230 r47808 215 215 216 216 /* translators: 'rtl' or 'ltr'. This sets the text direction for WordPress. */ 217 } elseif ( 'rtl' == _x( 'ltr', 'text direction' ) ) {217 } elseif ( 'rtl' === _x( 'ltr', 'text direction' ) ) { 218 218 $this->text_direction = 'rtl'; 219 219 } … … 347 347 */ 348 348 public function is_rtl() { 349 return 'rtl' == $this->text_direction;349 return 'rtl' === $this->text_direction; 350 350 } 351 351
Note: See TracChangeset
for help on using the changeset viewer.