[wp-trac] [WordPress Trac] #25447: Hook Docs: wp-admin/edit-link-form.php

WordPress Trac noreply at wordpress.org
Sun Nov 10 19:06:58 UTC 2013


#25447: Hook Docs: wp-admin/edit-link-form.php
--------------------------+------------------------------
 Reporter:  Japh          |       Owner:  kpdesign
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Inline Docs   |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------
Changes (by kpdesign):

 * keywords:  has-patch => needs-patch


Comment:

 @raamdev: Thanks for the patch. :)

 Just a few changes needed:

 `add_meta_boxes`:
 - Remove the docblock and replace with: `/** This action is documented in
 wp-admin/edit-form-advanced.php */`
 - Space out the `do_action` line per the coding standards:
 {{{
 do_action( 'add_meta_boxes', 'link', $link );
 }}}

 `add_meta_boxes_link`:
 - Change short description to: "Fires when link-specific meta boxes are
 added."
 - Only one blank space between object, $link, and the short description in
 @param line.
 - Change short description in @param line to "Link object."
 - Space out the `do_action` line per the coding standards.

 `do_meta_boxes`:
 - Space out the `do_action` line per the coding standards in all 3
 instances.

 `submitlink_box`:
 - Change short description to: "Fires before the Save meta box in the
 sidebar."
 - Space out the `do_action` line per the coding standards.

 Could you make these changes and submit a new patch please?

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


More information about the wp-trac mailing list