Changeset 52929 for trunk/src/wp-includes/class-wp-locale.php
- Timestamp:
- 03/13/2022 08:01:05 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-locale.php
r52652 r52929 95 95 */ 96 96 public $number_format; 97 98 /** 99 * The separator string used for localizing list item separator. 100 * 101 * @since 6.0.0 102 * @var string 103 */ 104 public $list_item_separator; 97 105 98 106 /** … … 210 218 $this->number_format['decimal_point'] = ( 'number_format_decimal_point' === $decimal_point ) ? '.' : $decimal_point; 211 219 220 /* translators: used between list items, there is a space after the comma */ 221 $this->list_item_separator = __( ', ' ); 222 212 223 // Set text direction. 213 224 if ( isset( $GLOBALS['text_direction'] ) ) { … … 367 378 __( 'F j, Y g:i a' ); 368 379 } 380 381 /** 382 * Retrieve the localized list item separator. 383 * 384 * @since 6.0.0 385 * 386 * @return string Localized list item separator. 387 */ 388 public function get_list_item_separator() { 389 return $this->list_item_separator; 390 } 369 391 }
Note: See TracChangeset
for help on using the changeset viewer.