[buddypress-trac] [BuddyPress Trac] #5472: xprofile_insert_field -> type - 'option' not allowed?

buddypress-trac noreply at wordpress.org
Sun Jun 15 16:55:24 UTC 2014


#5472: xprofile_insert_field -> type - 'option' not allowed?
------------------------------+---------------------------
 Reporter:  shanebp           |       Owner:  boonebgorges
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  2.1
Component:  XProfile          |     Version:  1.9.2
 Severity:  normal            |  Resolution:
 Keywords:  needs-unit-tests  |
------------------------------+---------------------------
Changes (by boonebgorges):

 * keywords:  dev-feedback => needs-unit-tests


Comment:

 Thanks for the feedback, shanebp.

 > And for programatically inserting fields, use xprofile_insert_field to
 create the type and $wpdb->insert to create the options.

 No, this is unacceptable. The fact that it's not possible to do what
 you're asking is a failure of our API.

 I'm afraid I don't really understand what you're describing with the
 autoincrement stuff. What we really need here is unit tests that
 demonstrate the failure, so we'll have something to build against.

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


More information about the buddypress-trac mailing list