Docs: Various docblock corrections and improvements.
See #50768 Built from https://develop.svn.wordpress.org/trunk@48941 git-svn-id: http://core.svn.wordpress.org/trunk@48703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -472,7 +472,7 @@ class WP_Comments_List_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
/**
|
||||
* Displays a comment status drop-down for filtering on the Comments list table.
|
||||
* Displays a comment type drop-down for filtering on the Comments list table.
|
||||
*
|
||||
* @since 5.5.0
|
||||
*
|
||||
@@ -480,11 +480,11 @@ class WP_Comments_List_Table extends WP_List_Table {
|
||||
*/
|
||||
protected function comment_status_dropdown( $comment_type ) {
|
||||
/**
|
||||
* Filters the comment types dropdown menu.
|
||||
* Filters the comment types shown in the drop-down menu on the Comments list table.
|
||||
*
|
||||
* @since 2.7.0
|
||||
*
|
||||
* @param array $comment_types An array of comment types. Accepts 'Comments', 'Pings'.
|
||||
* @param string[] $comment_types Array of comment type labels keyed by their name.
|
||||
*/
|
||||
$comment_types = apply_filters(
|
||||
'admin_comment_types_dropdown',
|
||||
|
||||
@@ -73,7 +73,7 @@ if ( isset( $_GET['tab'] ) ) {
|
||||
*
|
||||
* @since 2.5.0
|
||||
*
|
||||
* @param string $type The default media popup tab. Default 'type' (From Computer).
|
||||
* @param string $tab The default media popup tab. Default 'type' (From Computer).
|
||||
*/
|
||||
$tab = apply_filters( 'media_upload_default_tab', 'type' );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user