- Timestamp:
- 09/05/2022 05:17:21 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-comments-list-table.php
r53641 r54071 678 678 $the_comment_status = wp_get_comment_status( $comment ); 679 679 680 $out = '';680 $output = ''; 681 681 682 682 $del_nonce = esc_html( '_wpnonce=' . wp_create_nonce( "delete-comment_$comment->comment_ID" ) ); … … 833 833 } 834 834 835 $out .= '<div class="' . ( $always_visible ? 'row-actions visible' : 'row-actions' ) . '">';835 $output .= '<div class="' . ( $always_visible ? 'row-actions visible' : 'row-actions' ) . '">'; 836 836 837 837 $i = 0; … … 843 843 || 1 === $i 844 844 ) { 845 $sep = '';845 $separator = ''; 846 846 } else { 847 $sep = ' | ';847 $separator = ' | '; 848 848 } 849 849 … … 861 861 } 862 862 863 $out .= "<span class='$action'>$sep$link</span>";864 } 865 866 $out .= '</div>';867 868 $out .= '<button type="button" class="toggle-row"><span class="screen-reader-text">' . __( 'Show more details' ) . '</span></button>';869 870 return $out ;863 $output .= "<span class='$action'>{$separator}{$link}</span>"; 864 } 865 866 $output .= '</div>'; 867 868 $output .= '<button type="button" class="toggle-row"><span class="screen-reader-text">' . __( 'Show more details' ) . '</span></button>'; 869 870 return $output; 871 871 } 872 872
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)