Changeset 61371
- Timestamp:
- 12/12/2025 01:13:43 AM (2 days ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 2 edited
-
class-wp-ms-sites-list-table.php (modified) (2 diffs)
-
template.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-ms-sites-list-table.php
r60358 r61371 675 675 if ( ! empty( $site_states ) ) { 676 676 $state_count = count( $site_states ); 677 $separator = wp_get_list_item_separator(); 677 678 678 679 $i = 0; … … 683 684 ++$i; 684 685 685 $s eparator = ( $i < $state_count ) ? ', ': '';686 687 echo "<span class='post-state'>{$state}{$s eparator}</span>";686 $suffix = ( $i < $state_count ) ? $separator : ''; 687 688 echo "<span class='post-state'>{$state}{$suffix}</span>"; 688 689 } 689 690 } -
trunk/src/wp-admin/includes/template.php
r61261 r61371 2252 2252 if ( ! empty( $post_states ) ) { 2253 2253 $state_count = count( $post_states ); 2254 $separator = wp_get_list_item_separator(); 2254 2255 2255 2256 $i = 0; … … 2260 2261 ++$i; 2261 2262 2262 $s eparator = ( $i < $state_count ) ? ', ': '';2263 2264 $post_states_html .= "<span class='post-state'>{$state}{$s eparator}</span>";2263 $suffix = ( $i < $state_count ) ? $separator : ''; 2264 2265 $post_states_html .= "<span class='post-state'>{$state}{$suffix}</span>"; 2265 2266 } 2266 2267 } … … 2380 2381 if ( ! empty( $media_states ) ) { 2381 2382 $state_count = count( $media_states ); 2383 $separator = wp_get_list_item_separator(); 2382 2384 2383 2385 $i = 0; … … 2388 2390 ++$i; 2389 2391 2390 $s eparator = ( $i < $state_count ) ? ', ': '';2391 2392 $media_states_string .= "<span class='post-state'>{$state}{$s eparator}</span>";2392 $suffix = ( $i < $state_count ) ? $separator : ''; 2393 2394 $media_states_string .= "<span class='post-state'>{$state}{$suffix}</span>"; 2393 2395 } 2394 2396 }
Note: See TracChangeset
for help on using the changeset viewer.