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.

Built from https://develop.svn.wordpress.org/trunk@31891


git-svn-id: http://core.svn.wordpress.org/trunk@31870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-03-25 22:45:27 +00:00
parent 51854c53b4
commit 79f58d9d40
2 changed files with 5 additions and 3 deletions

View File

@ -4125,8 +4125,10 @@ function _cleanup_header_comment( $str ) {
} }
/** /**
* Permanently delete posts, pages, attachments, and comments which have been * Permanently delete comments or posts of any type that have held a status
* in the trash for EMPTY_TRASH_DAYS. * 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 * @since 2.9.0
*/ */

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.2-beta2-31890'; $wp_version = '4.2-beta2-31891';
/** /**
* 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.