[wp-trac] [WordPress Trac] #31813: delete_post_{post_type}

WordPress Trac noreply at wordpress.org
Mon Sep 14 15:50:41 UTC 2015


#31813: delete_post_{post_type}
-----------------------------------+-----------------------------
 Reporter:  GunGeekATX             |       Owner:  wonderboymusic
     Type:  enhancement            |      Status:  assigned
 Priority:  normal                 |   Milestone:  4.4
Component:  Posts, Post Types      |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+-----------------------------
Changes (by DrewAPicture):

 * keywords:  has-patch commit => has-patch 2nd-opinion
 * owner:   => wonderboymusic


Comment:

 Actually, hmm. I took this ticket at face value to do the refresh and fix
 the docs, but it occurs to me on second thought that perhaps instead of
 essentially adding duplicate hooks here we should instead simply pass the
 post type value to the existing hooks?

 I recognize the precedent in having pairs of hooks (generic and post-type-
 specific) but I wonder if it's really that useful to add a second hook
 (plus forever-maintenance) when we could instead add a second parameter to
 something we're already maintaining.

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


More information about the wp-trac mailing list