[buddypress-trac] [BuddyPress Trac] #5674: Need actions on Add/Edit admin screens for xProfile component

buddypress-trac noreply at wordpress.org
Mon Aug 11 12:48:03 UTC 2014


#5674: Need actions on Add/Edit admin screens for xProfile component
-------------------------+-----------------------------
 Reporter:  slaFFik      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  XProfile     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------------
Changes (by Offereins):

 * keywords:  needs-patch => has-patch


Comment:

 ''Aside: Not sure why both .patch and .diff files show up broken and have
 additional empty lines. It should still work I hope. It's my first ever
 patch.''

 The patch adds both in `BP_XProfile_Group::render_admin_form()` and
 `BP_XProfile_Field::render_admin_form()` several hooks, inspired by wp-
 admin/edit-form-advanced.php and wp-admin/includes/metaboxes.php:

 * `xprofile_group|field_before_submitbox` before the submit metabox
 * `xprofile_group|field_submitbox_start` within the submit metabox before
 the publishing actions
 * `xprofile_group|field_after_submitbox` after the submit metabox
 * `xprofile_group|field_edit_form_advanced` in the second metabox
 container `postbox-container-2`

 All hooks are provided with the current object and received some minor
 documentation. I hope it can still pass before the 2.1 release.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5674#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list