From 79f58d9d40732fff85a6e658c643d981e2d3ccda Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 25 Mar 2015 22:45:27 +0000 Subject: [PATCH] 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 --- wp-includes/functions.php | 6 ++++-- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 0e5600e7b2..fbe1219866 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -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 */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 1a05317731..ba47880f0f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.