wp/wp-admin/includes/class-wp-application-passwords-list-table.php
changeset 21 48c4eec2b7e6
parent 18 be944660c56a
--- a/wp/wp-admin/includes/class-wp-application-passwords-list-table.php	Thu Sep 29 08:06:27 2022 +0200
+++ b/wp/wp-admin/includes/class-wp-application-passwords-list-table.php	Fri Sep 05 18:40:08 2025 +0200
@@ -11,7 +11,6 @@
  * Class for displaying the list of application password items.
  *
  * @since 5.6.0
- * @access private
  *
  * @see WP_List_Table
  */
@@ -22,7 +21,7 @@
 	 *
 	 * @since 5.6.0
 	 *
-	 * @return array
+	 * @return string[] Array of column titles keyed by their column name.
 	 */
 	public function get_columns() {
 		return array(
@@ -147,7 +146,7 @@
 	 *
 	 * @since 5.6.0
 	 *
-	 * @param string $which The location of the bulk actions: 'top' or 'bottom'.
+	 * @param string $which The location of the bulk actions: Either 'top' or 'bottom'.
 	 */
 	protected function display_tablenav( $which ) {
 		?>
@@ -254,7 +253,10 @@
 			}
 
 			if ( $is_primary ) {
-				echo '<button type="button" class="toggle-row"><span class="screen-reader-text">' . __( 'Show more details' ) . '</span></button>';
+				echo '<button type="button" class="toggle-row"><span class="screen-reader-text">' .
+					/* translators: Hidden accessibility text. */
+					__( 'Show more details' ) .
+				'</span></button>';
 			}
 
 			echo '</td>';