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:
John Blackbourn
2020-09-04 20:41:07 +00:00
parent 7ad3a59ca4
commit d0a32c5111
9 changed files with 45 additions and 22 deletions

View File

@@ -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',

View File

@@ -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' );
}