Clarify the DocBlock summary for wp_scheduled_delete() to mention that it includes posts of any type where the 'trash' status is used.

Props dkotter for the initial patch.
Fixes #31757.


git-svn-id: https://develop.svn.wordpress.org/trunk@31891 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2015-03-25 22:44:26 +00:00
parent 501aeeaaa6
commit 9cd90a9a10

View File

@ -4125,8 +4125,10 @@ function _cleanup_header_comment( $str ) {
}
/**
* Permanently delete posts, pages, attachments, and comments which have been
* in the trash for EMPTY_TRASH_DAYS.
* Permanently delete comments or posts of any type that have held a status
* of 'trash' for the number of days defined in EMPTY_TRASH_DAYS.
*
* The default value of `EMPTY_TRASH_DAYS` is 30 (days).
*
* @since 2.9.0
*/