[wp-trac] [WordPress Trac] #31757: misleading phpdoc for wp_scheduled_delete

WordPress Trac noreply at wordpress.org
Wed Mar 25 21:32:25 UTC 2015


#31757: misleading phpdoc for wp_scheduled_delete
-------------------------------+------------------------------
 Reporter:  ctalkington        |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:  docs
-------------------------------+------------------------------
Changes (by dkotter):

 * keywords:  needs-patch => has-patch


Comment:

 Added a patch that adjusts the phpdoc to make it clear this function also
 deletes custom post types.

 Note that in looking at this, investigated some of the other delete
 functions and most of them only mention posts and pages, so not sure if
 worth fixing all of those but just wanted to note the documentation on
 those is also lacking.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31757#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list