mirror of
git://develop.git.wordpress.org/
synced 2025-02-24 16:43:06 +01:00
Docs: Add a missing notation for the $args
parameter in the DocBlock for wp_get_post_revisions()
.
See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@35981 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
649644ff00
commit
e635606cc1
@ -411,7 +411,10 @@ function wp_delete_post_revision( $revision_id ) {
|
||||
*
|
||||
* @since 2.6.0
|
||||
*
|
||||
* @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global $post.
|
||||
* @see get_children()
|
||||
*
|
||||
* @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global `$post`.
|
||||
* @param array|null $args Optional. Arguments for retrieving post revisions. Default null.
|
||||
* @return array An array of revisions, or an empty array if none.
|
||||
*/
|
||||
function wp_get_post_revisions( $post_id = 0, $args = null ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user