mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +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. Built from https://develop.svn.wordpress.org/trunk@54854 git-svn-id: http://core.svn.wordpress.org/trunk@54406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
cede832fb1
commit
260276583c
@ -3057,7 +3057,7 @@ function wp_count_posts( $type = 'post', $perm = '' ) {
|
|||||||
wp_cache_set( $cache_key, $counts, 'counts' );
|
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
|
* @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
|
* @since 3.7.0
|
||||||
*
|
*
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.2-alpha-54853';
|
$wp_version = '6.2-alpha-54854';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user