[buddypress-trac] [BuddyPress Trac] #6545: Provide new XProfile field object with WPDB's insert_id

buddypress-trac noreply at wordpress.org
Thu Jul 2 12:46:47 UTC 2015


#6545: Provide new XProfile field object with WPDB's insert_id
----------------------------------+---------------------------
 Reporter:  Offereins             |       Owner:  boonebgorges
     Type:  defect (bug)          |      Status:  reopened
 Priority:  normal                |   Milestone:  2.4
Component:  Component - XProfile  |     Version:
 Severity:  normal                |  Resolution:
 Keywords:                        |
----------------------------------+---------------------------
Changes (by Offereins):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Sorry to say, but the fix doesn't solve my issue. The
 'xprofile_field_after_save' hook has already fired with the field object
 before your new code steps in. Setting `$this->id` should at least happen
 some 10 lines earlier:
 https://buddypress.trac.wordpress.org/browser/trunk/src/bp-
 xprofile/classes/class-bp-xprofile-field.php?rev=9983#L371

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


More information about the buddypress-trac mailing list