Correct `@since` tag in `count_user_posts()` docs.
Props pavelevap, DrewAPicture. See #21364. Built from https://develop.svn.wordpress.org/trunk@30328 git-svn-id: http://core.svn.wordpress.org/trunk@30327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
120cb5e6ef
commit
92e3890daa
|
@ -250,7 +250,7 @@ function wp_validate_logged_in_cookie( $user_id ) {
|
|||
* Number of posts user has written.
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @since 4.0.0 Added $post_type parameter.
|
||||
* @since 4.1.0 Added $post_type parameter.
|
||||
*
|
||||
* @global wpdb $wpdb WordPress database object for queries.
|
||||
*
|
||||
|
@ -269,7 +269,7 @@ function count_user_posts( $userid, $post_type = 'post' ) {
|
|||
* Filter the number of posts a user has written.
|
||||
*
|
||||
* @since 2.7.0
|
||||
* @since 4.0.0 Added $post_type parameter.
|
||||
* @since 4.1.0 Added $post_type parameter.
|
||||
*
|
||||
* @param int $count The user's post count.
|
||||
* @param int $userid User ID.
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.1-alpha-30327';
|
||||
$wp_version = '4.1-alpha-30328';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue