wp/wp-admin/includes/list-table.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
--- a/wp/wp-admin/includes/list-table.php	Tue Dec 15 15:52:01 2020 +0100
+++ b/wp/wp-admin/includes/list-table.php	Wed Sep 21 18:19:35 2022 +0200
@@ -17,7 +17,7 @@
  *
  * @param string $class The type of the list table, which is the class name.
  * @param array  $args  Optional. Arguments to pass to the class. Accepts 'screen'.
- * @return WP_List_Table|bool List table object on success, false if the class does not exist.
+ * @return WP_List_Table|false List table object on success, false if the class does not exist.
  */
 function _get_list_table( $class, $args = array() ) {
 	$core_classes = array(
@@ -33,6 +33,7 @@
 		'WP_Themes_List_Table'                        => 'themes',
 		'WP_Theme_Install_List_Table'                 => array( 'themes', 'theme-install' ),
 		'WP_Plugins_List_Table'                       => 'plugins',
+		'WP_Application_Passwords_List_Table'         => 'application-passwords',
 
 		// Network Admin.
 		'WP_MS_Sites_List_Table'                      => 'ms-sites',
@@ -70,9 +71,10 @@
  *
  * @since 2.7.0
  *
- * @param string   $screen  The handle for the screen to add help to. This is usually the hook name returned by the
- *                          add_*_page() functions.
- * @param string[] $columns An array of columns with column IDs as the keys and translated column names as the values.
+ * @param string    $screen The handle for the screen to register column headers for. This is
+ *                          usually the hook name returned by the `add_*_page()` functions.
+ * @param string[] $columns An array of columns with column IDs as the keys and translated
+ *                          column names as the values.
  */
 function register_column_headers( $screen, $columns ) {
 	new _WP_List_Table_Compat( $screen, $columns );