[wp-trac] [WordPress Trac] #25376: Hook Docs (82): wp-includes/post.php

WordPress Trac noreply at wordpress.org
Tue Apr 8 07:40:32 UTC 2014


#25376: Hook Docs (82): wp-includes/post.php
-------------------------------+------------------------------
 Reporter:  DrewAPicture       |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:  docs
-------------------------------+------------------------------

Comment (by DrewAPicture):

 In [changeset:"28042"]:
 {{{
 #!CommitTicketReference repository="" revision="28042"
 Clarify documentation for hooks in `sanitize_post_field()`.

 * `edit_post_{$field}` pairs with `edit_{$field}`
 * `pre_post_{$field}` pairs with `pre_{$field}`
 * `post_{$field}` pairs with `{$field}`

 As the above pairs' docs are unnecessarily duplicative, the second sets of
 docs have been removed. Also, the "duplicates" are purposely not marked as
 such in this case as the hook names differ. Also remove `@deprecated` tags
 mistakenly left in in [28041].

 See #25376.
 }}}

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


More information about the wp-trac mailing list