mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Update wp_count_posts and wp_count_attachments filter descriptions.
This aims to match the wording generally used for other filters as per the documentation standards. Follow-up to [25554], [25578], [25579], [53456]. See #56792. git-svn-id: https://develop.svn.wordpress.org/trunk@54854 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3057,7 +3057,7 @@ function wp_count_posts( $type = 'post', $perm = '' ) {
|
||||
wp_cache_set( $cache_key, $counts, 'counts' );
|
||||
|
||||
/**
|
||||
* Modifies returned post counts by status for the current post type.
|
||||
* Filters the post counts by status for the current post type.
|
||||
*
|
||||
* @since 3.7.0
|
||||
*
|
||||
@@ -3109,7 +3109,7 @@ function wp_count_attachments( $mime_type = '' ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Modifies returned attachment counts by mime type.
|
||||
* Filters the attachment counts by mime type.
|
||||
*
|
||||
* @since 3.7.0
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user