[wp-trac] [WordPress Trac] #18710: post_deleted_messages filter

WordPress Trac noreply at wordpress.org
Mon Sep 23 17:52:04 UTC 2013


#18710: post_deleted_messages filter
------------------------------+-----------------------
 Reporter:  jgadbois          |       Owner:  nacin
     Type:  enhancement       |      Status:  accepted
 Priority:  normal            |   Milestone:  3.7
Component:  Administration    |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+-----------------------
Changes (by nacin):

 * keywords:  has-patch needs-docs => has-patch commit


Comment:

 [attachment:18710.3.diff] adds docs, avoids magic numbers, and tries to
 simplify the logic.

 The post_updated_messages filter uses 1-10 to correspond to actual
 ?message=X arguments. I figured this filter could benefit from a bit more
 structure.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/18710#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list