[buddypress-trac] [BuddyPress Trac] #6569: Let's give post-form.php the love

buddypress-trac noreply at wordpress.org
Wed Oct 21 18:57:53 UTC 2015


#6569: Let's give post-form.php the love
-----------------------------------------+------------------
 Reporter:  modemlooper                  |       Owner:
     Type:  enhancement                  |      Status:  new
 Priority:  normal                       |   Milestone:  2.4
Component:  Appearance - Template Parts  |     Version:  1.2
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |
-----------------------------------------+------------------

Comment (by r-a-y):

 In [changeset:"10294"]:
 {{{
 #!CommitTicketReference repository="" revision="10294"
 bp-legacy: Pass all `$_POST` data when a user makes a "What's New"
 activity update.

 Previously, if a plugin developer added a custom field to the "What's New"
 form, the data for that field would not get passed to our AJAX post
 handler
 - `bp_legacy_theme_post_update()`.  This made things difficult for plugin
 developers to save their custom activity data.

 This commit passes all valid `$_POST` fields from the "What's New" form to
 our AJAX post handler, which will allow plugin developers to find their
 data and save it.

 See https://buddypress.trac.wordpress.org/ticket/6569#comment:21 for a
 brief example.

 Props imath.

 See #6569.
 }}}

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


More information about the buddypress-trac mailing list