WordPress.org

Make WordPress Core

Changeset 31891


Ignore:
Timestamp:
03/25/2015 10:44:26 PM (6 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r31874 r31891  
    41264126
    41274127/**
    4128  * Permanently delete posts, pages, attachments, and comments which have been
    4129  * in the trash for EMPTY_TRASH_DAYS.
     4128 * Permanently delete comments or posts of any type that have held a status
     4129 * of 'trash' for the number of days defined in EMPTY_TRASH_DAYS.
     4130 *
     4131 * The default value of `EMPTY_TRASH_DAYS` is 30 (days).
    41304132 *
    41314133 * @since 2.9.0
Note: See TracChangeset for help on using the changeset viewer.